/// <summary> /// Initializes a new instance of the <see cref="ExportServiceAttribute"/> class. /// </summary> public ExportServiceAttribute( ServiceLifetimeScope serviceLifetimeScope, [CanBeNull] object keyed, [NotNull] params Type[] registerSpecifiedTypes) { this.ServiceLifetimeScope = serviceLifetimeScope; this.Keyed = keyed; this.RegisterSpecifiedTypes = registerSpecifiedTypes; }
/// <summary> /// Initializes a new instance of the <see cref="ExportServiceAttribute"/> class. /// </summary> /// <param name="serviceLifetimeScope"> /// The service lifetime scope. /// </param> /// <param name="named"> /// The named. /// </param> /// <param name="registerSpecifiedTypes"> /// The register Specified Types. /// </param> public ExportServiceAttribute( ServiceLifetimeScope serviceLifetimeScope, [CanBeNull] string named, [NotNull] params Type[] registerSpecifiedTypes) { this.Named = named; this.ServiceLifetimeScope = serviceLifetimeScope; this.RegisterSpecifiedTypes = registerSpecifiedTypes; }
/// <summary> /// Initializes a new instance of the <see cref="ExportServiceAttribute"/> class. /// </summary> /// <param name="serviceLifetimeScope"> /// The service lifetime scope. /// </param> /// <param name="named"> /// The named. /// </param> /// <param name="registerSpecifiedTypes"> /// The register Specified Types. /// </param> public ExportServiceAttribute( ServiceLifetimeScope serviceLifetimeScope, [CanBeNull] string named, [NotNull] params Type[] registerSpecifiedTypes) { this.Named = named; this.ServiceLifetimeScope = serviceLifetimeScope; this.RegisterSpecifiedTypes = registerSpecifiedTypes; }
/// <summary> /// Initializes a new instance of the <see cref="ExportServiceAttribute"/> class. /// </summary> /// <param name="serviceLifetimeScope"> /// The service lifetime scope. /// </param> public ExportServiceAttribute(ServiceLifetimeScope serviceLifetimeScope) : this(serviceLifetimeScope, null) { }
/// <summary> /// Initializes a new instance of the <see cref="ExportServiceAttribute"/> class. /// </summary> public ExportServiceAttribute( ServiceLifetimeScope serviceLifetimeScope, [CanBeNull] object keyed, [NotNull] params Type[] registerSpecifiedTypes) { this.ServiceLifetimeScope = serviceLifetimeScope; this.Keyed = keyed; this.RegisterSpecifiedTypes = registerSpecifiedTypes; }
/// <summary> /// Initializes a new instance of the <see cref="ExportServiceAttribute"/> class. /// </summary> /// <param name="serviceLifetimeScope"> /// The service lifetime scope. /// </param> public ExportServiceAttribute(ServiceLifetimeScope serviceLifetimeScope) : this(serviceLifetimeScope, null) { }