Ejemplo n.º 1
0
 public SettingsRequestorImplementationElement([NotNull] XmlElement xmlElement, [NotNull] IConfigurationFileElement parent,
                                               [NotNull] IImplementedTypeValidator implementedTypeValidator,
                                               [NotNull] IInjectedPropertiesValidator injectedPropertiesValidator,
                                               [NotNull] ITypeHelper typeHelper)
     : base(xmlElement, parent, typeof(ISettingsRequestor), implementedTypeValidator, injectedPropertiesValidator, typeHelper)
 {
 }
Ejemplo n.º 2
0
 public TypeBasedServiceImplementationElement([NotNull] XmlElement xmlElement, [NotNull] IConfigurationFileElement parent,
                                              [NotNull] IImplementedTypeValidator implementedTypeValidator,
                                              [NotNull] IInjectedPropertiesValidator injectedPropertiesValidator,
                                              [NotNull] ITypeHelper typeHelper) :
     base(xmlElement, parent, implementedTypeValidator, injectedPropertiesValidator, typeHelper)
 {
 }
 protected ConstructedValueElementBase([NotNull] XmlElement xmlElement, IConfigurationFileElement parent,
                                       [NotNull] ITypeHelper typeHelper,
                                       [NotNull] IImplementedTypeValidator implementedTypeValidator) :
     base(xmlElement, parent, typeHelper)
 {
     _implementedTypeValidator = implementedTypeValidator;
 }
 public StartupActionElement([NotNull] XmlElement xmlElement, [NotNull] IConfigurationFileElement parent,
                             [NotNull] IImplementedTypeValidator implementedTypeValidator,
                             [NotNull] IInjectedPropertiesValidator injectedPropertiesValidator,
                             [NotNull] ITypeHelper typeHelper)
     : base(xmlElement, parent, typeof(IStartupAction), implementedTypeValidator, injectedPropertiesValidator, typeHelper)
 {
 }
 public TypeBasedServiceImplementationElementAbstr([NotNull] XmlElement xmlElement, [NotNull] IConfigurationFileElement parent,
                                                   [NotNull] IImplementedTypeValidator implementedTypeValidator,
                                                   [NotNull] IInjectedPropertiesValidator injectedPropertiesValidator,
                                                   [NotNull] ITypeHelper typeHelper) : base(xmlElement, parent)
 {
     _implementedTypeValidator    = implementedTypeValidator;
     _injectedPropertiesValidator = injectedPropertiesValidator;
     _typeHelper = typeHelper;
 }
 public ConstructedValueElement([NotNull] XmlElement xmlElement, IConfigurationFileElement parent,
                                [NotNull] ITypeHelper typeHelper,
                                [NotNull] IImplementedTypeValidator implementedTypeValidator,
                                [NotNull] IInjectedPropertiesValidator injectedPropertiesValidator,
                                [NotNull] ICreateInstanceFromTypeAndConstructorParameters createInstanceFromTypeAndConstructorParameters) :
     base(xmlElement, parent, typeHelper, implementedTypeValidator)
 {
     _injectedPropertiesValidator = injectedPropertiesValidator;
     _createInstanceFromTypeAndConstructorParameters = createInstanceFromTypeAndConstructorParameters;
 }
Ejemplo n.º 7
0
 protected KnownServiceImplementationElement([NotNull] XmlElement xmlElement, [NotNull] IConfigurationFileElement parent,
                                             [NotNull] Type implementedServiceType,
                                             [NotNull] IImplementedTypeValidator implementedTypeValidator,
                                             [NotNull] IInjectedPropertiesValidator injectedPropertiesValidator,
                                             [NotNull] ITypeHelper typeHelper) :
     base(xmlElement, parent, implementedTypeValidator, injectedPropertiesValidator, typeHelper)
 {
     ServiceTypeInfo = TypeInfo.CreateNonArrayTypeInfo(implementedServiceType, Configuration.Assemblies.IoCConfigurationAssembly, null);
     Implementations = new IServiceImplementationElement[] { this };
 }
 public SelfBoundServiceElement([NotNull] XmlElement xmlElement, [NotNull] IConfigurationFileElement parent,
                                [NotNull] IImplementedTypeValidator implementedTypeValidator,
                                [NotNull] IInjectedPropertiesValidator injectedPropertiesValidator,
                                [NotNull] ITypeHelper typeHelper,
                                [NotNull] IValidateServiceUsageInPlugin validateServiceUsageInPlugin) :
     base(xmlElement, parent, implementedTypeValidator, injectedPropertiesValidator, typeHelper)
 {
     _validateServiceUsageInPlugin = validateServiceUsageInPlugin;
     Implementations = new IServiceImplementationElement[] { this };
 }