prism

Java.lang.UnsatisfiedLinkError in eclipse

自作多情 提交于 2019-12-24 23:00:21
问题 I have made a plugin and i am trying to print an output of a batch file on a console ! The output shows this error. java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\prism-4.0\lib\prism.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform I am new to eclipse ! Please let me know how to fix this error. Moreover ! I want to add some manual property (user defined) in my project ! Like when we select the project and right click then "properties" then there are options like "Resources",

Xamarin MediaPlugin and different Android version

蹲街弑〆低调 提交于 2019-12-24 18:18:27
问题 I have a problem with Media Plugin. If the compilation target is Android 6.0 it works fine in debug mode in my device that is V. 5.0.1. The problem is that when I compile in Release mode I receive this error: > Java.Interop.Tools.Diagnostics.XamarinAndroidException: error XA2006: Could not resolve reference to 'Android.Views.KeyboardShortcutGroup' (defined in assembly 'Xamarin.Android.Support.v7.AppCompat, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null') with scope 'Mono.Android,

MVVM binding to Model or ViewModel?

 ̄綄美尐妖づ 提交于 2019-12-24 17:46:03
问题 I've been reading Microsoft's Prism Documentation and it has a lengthy discussion of the MVVM framework. Both the section discussing the Model and the one discussing the ViewModel talk about the View binding to the properties declared in each. Is this correct? Everything I read up until this made it seem like the ViewModel was the intended binding source, and the Model was more of the business logic. Any clarification would be appreciated. 回答1: Almost all of the time you will be binding to

Prism CompositePresentationEvent fires twice

拥有回忆 提交于 2019-12-24 16:06:14
问题 In my infrastructure i publish a event this.eventAggregator.GetEvent<ReportAddedEvent>().Publish(report); the report is a object In my controller i subscribe to this event this.eventAggregator.GetEvent<ReportAddedEvent>().Subscribe(this.OnReportAdded); My problem is that the event fires twice. There is no other place in the entire code where the event is published so im certain that the event is not fired somewhere else and i can see it only fires once. Anyone have a suggestion or have a

Point of Sale Application Architecture

你。 提交于 2019-12-24 15:32:27
问题 I have been asked to build a POS Application for a Restaurant. I have experience creating POS application in VB6.0 and have always wanted to create one with UX. I am looking to create one with WPF as front end. I pretty much have the process picture in mind and also screens. Said so much, I am not sure how to Architecture one. Few Major questions that come to my mind are : Should I use Composite Application Guidance for WPF - Prism. If the answer is yes will performance reduce as in POS

Passing ListView Items to Commands using Prism Library

ぃ、小莉子 提交于 2019-12-24 15:24:12
问题 I'm trying to execute methods based on listview items data. In addition to that, the button, which triggers the command, should only be enabled, if "CanExecute" method of the listview item returns true. Both methods, "MyCommand" and "CanExecute", are included in my ViewModel. Unfortunately I'm not sure how to pass the items information correctly to both methods in order to be conform with the PRISM 6 framework. So my first approach was to do it like the following : Model public class MyModel

In MVVM, open context menu upon drag completion

六眼飞鱼酱① 提交于 2019-12-24 11:44:47
问题 In a software that is highly interactive, the user can do drag and drop operations on a collection of UserControl s. Upon drop, they should be presented with a ContextMenu offering some choices on how to perform the action, e.g., copy the item, or swap positions if there is another item at the drop location. Using the Prism framework, the ideal way of implementing this would be by means of the InteractionRequestTrigger , for instance: <i:Interaction.Triggers> <prism:InteractionRequestTrigger

Silverlight PRISM Creating a custom module catalog

杀马特。学长 韩版系。学妹 提交于 2019-12-24 10:41:11
问题 I have created a silverlight application with PRISM and MEF. Is there a way to populate the modules catalog through some web service or database call? The example shown in the PRISM documentation gets the module information through XAP file which is included in the Shell project. In my case i need to get this list from some service. I read some articles which suggested to create a custom ModuleCatalog which implements IModuleCatalog. I am not able to find any example or code snippet on how to

Include an icon for a Prism module

99封情书 提交于 2019-12-24 10:23:27
问题 I want my Prism shell to display an image and label for each module that it discovers. How might I go about including an image from a module assembly and accessing it in the shell? I've already tried creating an interface for providing an icon (as an ImageSource ) and a string label, but I am having trouble creating the ImageSource from the image in the module's assembly. (The URI used in the constructor for a BitmapImage always wants to find content in the shell's assembly rather than the

Prism+MEF: delayed a service export from prism-module

半腔热情 提交于 2019-12-24 10:04:47
问题 I have an app based on Prism (v4 ctp) and MEF. The app has a service IService1. I want this service implementation was exported by some module (not just discovered by MEF) public interface IService1 {} public class Service1Impl: IService1 {} Service1Impl doesn't have ExportAttribute. This' because I want to create the implementation by hand in my Prism-module: [ModuleExport(typeof(SomeModule))] [PartCreationPolicy(CreationPolicy.Shared)] public SomeModule: IModule { [Export] public IService1