/// <summary> /// Initializes a new instance of the <see cref="AddSatelliteProviderCommand"/> class. /// </summary> /// <remarks> /// This class is intended to be initialized by the <see cref="SectionViewModel.CreateElementCollectionAddCommands"/>. /// </remarks> /// <param name="commandAttribute">The <see cref="AddSateliteProviderCommandAttribute"/> that specifes metadata for this <see cref="AddSatelliteProviderCommand"/> to be initialized with.</param> /// <param name="collection"></param> /// <param name="commandService"></param> /// <param name="configurationElementType"></param> /// <param name="lookup"></param> /// <param name="uiService"></param> public AddSatelliteProviderCommand(AddSateliteProviderCommandAttribute commandAttribute, MenuCommandService commandService, ConfigurationElementType configurationElementType, ElementCollectionViewModel collection, ElementLookup lookup, IUIServiceWpf uiService) : base(commandAttribute, configurationElementType, collection, uiService) { this.commandService = commandService; this.commandAttribute = commandAttribute; this.lookup = lookup; }
public DefaultCollectionElementAddCommand(ConfigurationElementType configurationElementType, ElementCollectionViewModel collection, IUIServiceWpf uiService) : base(uiService) { Guard.ArgumentNotNull(configurationElementType, "configurationElementType"); this.ConfigurationElementType = configurationElementType.ElementType; this.ElementCollectionModel = collection; commandPlacement = CommandPlacement.ContextAdd; }
public TypePickingCollectionElementAddCommand(IUIServiceWpf uiService, IAssemblyDiscoveryService discoveryService, TypePickingCommandAttribute commandAttribute, ConfigurationElementType configurationElementType, ElementCollectionViewModel elementCollectionModel) : base(commandAttribute, configurationElementType, elementCollectionModel, uiService) { Guard.ArgumentNotNull(commandAttribute, "commandAttribute"); this.discoveryService = discoveryService; this.propertyToSet = commandAttribute.Property; if (propertyToSet == null) { throw new ArgumentException( "Target ConfigurationElement must have an accessible property named TypeName or a specified property of type string."); } }
public SymmetricAlgorithmProviderAddCommand(IUIServiceWpf uiService, IAssemblyDiscoveryService discoveryService, TypePickingCommandAttribute commandAttribute, ConfigurationElementType configurationElementType, ElementCollectionViewModel elementCollectionModel) : base(uiService, discoveryService, commandAttribute, configurationElementType, elementCollectionModel) { }
public AnotherCustomElementCollectionAddCommand(ConfigurationElementType configurationElementType, ElementCollectionViewModel elementCollectionModel, IUIServiceWpf uiService) : base(configurationElementType, elementCollectionModel, uiService) { }
public TemplatedInjectionMemberCommandBase(ConfigurationElementType configurationElementType, ElementCollectionViewModel collection, IUIServiceWpf uiService) : base(configurationElementType, collection, uiService) { }
public ValidationTypeReferenceAddCommand(IUIServiceWpf uiService, IAssemblyDiscoveryService discoveryService, TypePickingCommandAttribute commandAttribute, ConfigurationElementType configurationElementType, ElementCollectionViewModel elementCollectionModel) : base(uiService, discoveryService, commandAttribute, configurationElementType, elementCollectionModel) { }
public ExceptionTypeAddCommand(TypePickingCommandAttribute commandAttribute, ConfigurationElementType configurationElementType, ElementCollectionViewModel elementCollectionModel, IUIServiceWpf uiService, IAssemblyDiscoveryService discoveryService) : base(uiService, discoveryService, commandAttribute, configurationElementType, elementCollectionModel) { }
public HashAlgorithmProviderAddCommand(IUIServiceWpf uiService, IAssemblyDiscoveryService discoveryService, TypePickingCommandAttribute commandAttribute, ConfigurationElementType configurationElementType, ElementCollectionViewModel elementCollectionModel) : base(uiService, discoveryService, commandAttribute, configurationElementType, elementCollectionModel) { }
protected DefaultCollectionElementAddCommand(CommandAttribute commandAttribute, ConfigurationElementType configurationElementType, ElementCollectionViewModel collection, IUIServiceWpf uiService) : base(commandAttribute, uiService) { Guard.ArgumentNotNull(configurationElementType, "configurationElementType"); this.ConfigurationElementType = configurationElementType.ElementType; this.ElementCollectionModel = collection; commandPlacement = commandAttribute.CommandPlacement; }