public SymmetricAlgorithmProviderAddCommand(IUIServiceWpf uiService, IAssemblyDiscoveryService discoveryService, TypePickingCommandAttribute commandAttribute, ConfigurationElementType configurationElementType, ElementCollectionViewModel elementCollectionModel)
     : base(uiService, discoveryService, commandAttribute, configurationElementType, elementCollectionModel)
 {
 }
Ejemplo n.º 2
0
 public ExceptionTypeAddCommand(TypePickingCommandAttribute commandAttribute, ConfigurationElementType configurationElementType, ElementCollectionViewModel elementCollectionModel, IUIServiceWpf uiService, IAssemblyDiscoveryService discoveryService)
     : base(uiService, discoveryService, commandAttribute, configurationElementType, elementCollectionModel)
 {
 }
 public ValidationTypeReferenceAddCommand(IUIServiceWpf uiService, IAssemblyDiscoveryService discoveryService, TypePickingCommandAttribute commandAttribute, ConfigurationElementType configurationElementType, ElementCollectionViewModel elementCollectionModel)
     : base(uiService, discoveryService, commandAttribute, configurationElementType, elementCollectionModel)
 {
 }
        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.");
            }
        }