/// <summary> /// Initializes a new instance of the <see cref="CommandMessage"/> class. /// </summary> public CommandMessage() { if (!PresentationFrameworkConfiguration.IsInDesignMode) { factory = IoC.Get <IViewModelDescriptionFactory>(); } }
/// <summary> /// Initializes property host. /// </summary> /// <param name="controller">The controller.</param> /// <param name="viewModelDescriptionFactory"></param> /// <param name="serviceLocator">The service locator.</param> public static void Initialize(IRoutedMessageController controller, IViewModelDescriptionFactory viewModelDescriptionFactory, IServiceLocator serviceLocator) { Action.controller = controller; Action.viewModelDescriptionFactory = viewModelDescriptionFactory; Action.serviceLocator = serviceLocator; }
/// <summary> /// Initializes a new instance of the <see cref="CommandMessage"/> class. /// </summary> public CommandMessage() { if (!PresentationFrameworkConfiguration.IsInDesignMode) { factory = IoC.Get <IViewModelDescriptionFactory>(); } SetValue(ParametersProperty, new FreezableCollection <Parameter>()); }
/// <summary> /// Initializes a new instance of the <see cref="CommandMessage"/> class. /// </summary> public CommandMessage() { if(!PresentationFrameworkConfiguration.IsInDesignMode) factory = IoC.Get<IViewModelDescriptionFactory>(); SetValue(ParametersProperty, new FreezableCollection<Parameter>()); }
public NISViewModelBinder(IViewModelDescriptionFactory descriptionFactory) : base(descriptionFactory) { }
/// <summary> /// Initializes a new instance of the <see cref="CommandMessage"/> class. /// </summary> public CommandMessage() { if(!PresentationFrameworkConfiguration.IsInDesignMode) factory = IoC.Get<IViewModelDescriptionFactory>(); }
/// <summary> /// Initializes a new instance of the <see cref="DefaultViewModelBinder"/> class. /// </summary> /// <param name="viewModelDescriptionFactory"></param> public DefaultViewModelBinder(IViewModelDescriptionFactory viewModelDescriptionFactory) { this.viewModelDescriptionFactory = viewModelDescriptionFactory; }
/// <summary> /// Initializes the specified message binder. /// </summary> /// <param name="messageBinder">The message binder.</param> /// <param name="viewModelDescriptionFactory">The view model description factory.</param> /// <param name="validator">The validator.</param> public static void Initialize(IMessageBinder messageBinder, IViewModelDescriptionFactory viewModelDescriptionFactory, IValidator validator) { MessageBinder = messageBinder; ViewModelDescriptionFactory = viewModelDescriptionFactory; Validator = validator; }