protected MethodsBaseComponent(ICacheComponent cacher, IPropertyComponent properties, Members <T> collection) { _properties = properties; _collection = collection; _queryStore = cacher.Memoize <Type, object, IEnumerable <T> >((o, a) => Query(this, o, a)); _flaggedQueryStore = cacher.Memoize <Type, object, BindingFlags, IEnumerable <T> >((o, a, f) => Query(this, o, a, f)); }
public Object( IPropertyComponent property, IMethodComponent method, IFieldComponent field, IConstructorComponent constructor, ITransposeComponent transformation, IAttributeComponent attribute, IDynamicComponent dynamicComponent, IEqualityComponent equality) { if (property == null) { throw new ArgumentNullException("property"); } if (method == null) { throw new ArgumentNullException("method"); } if (field == null) { throw new ArgumentNullException("field"); } if (constructor == null) { throw new ArgumentNullException("constructor"); } if (transformation == null) { throw new ArgumentNullException("transformation"); } if (attribute == null) { throw new ArgumentNullException("attribute"); } if (dynamicComponent == null) { throw new ArgumentNullException("dynamicComponent"); } if (equality == null) { throw new ArgumentNullException("equality"); } _property = property; _field = field; _method = method; _transformation = transformation; _constructor = constructor; _attribute = attribute; _dynamic = dynamicComponent; _equality = equality; }
public DynamicComponent(IPropertyComponent property) { _property = property; }
public EqualityComponent() { _property = new PropertyComponent(); }
public EqualityComponent(IPropertyComponent property) { _property = property; }
public TransposeComponent(IPropertyComponent property) { _property = property; }
public ConstructorComponent(ICacheComponent cacher, IPropertyComponent properties) : base(cacher, properties, new Members <ConstructorInfo>(null, BindingFlags.Instance | BindingFlags.Public)) { }