public InitializationPointSpecification(string name, MemberTypes memberType, bool required = true, ICompositionalQuery query = null) { Name = name ?? throw new ArgumentNullException(nameof(name)); MemberType = memberType; Required = required; Query = query; }
public LocalComponentFactory(Type targetType) { _targetType = targetType ?? throw new ArgumentNullException(nameof(targetType)); _composer = null; _componentCache = null; _componentCacheQuery = null; _targetConstructor = null; _constructorArgs = null; _initializationPoints = new List <InitializationPointSpecification>(); _compositionNotificationMethods = null; }
public ConstructorArgSpecification(bool required = true, ICompositionalQuery query = null) { Required = required; Query = query; }