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 ComponentFactory(ICacheComponent cacheComponent) { _cacheComponent = cacheComponent; }
public AttributeComponent(ICacheComponent cacheComponent) { _getAttributes = cacheComponent.Memoize <object, IEnumerable <Attribute> >(GetCustomAttributesImpl); }
public ValidationFactory(ICacheComponent cacheComponent) { _cacheComponent = cacheComponent; _mutex = new Mutex(); }
public NotifierStrategyFactory(ICacheComponent cacheComponent) { _cacheComponent = cacheComponent; _mutex = new Mutex(); }
public BalanceStrategyFactory(ICacheComponent cacheComponent) { _cacheComponent = cacheComponent; _mutex = new Mutex(); }
public ConstructorComponent(ICacheComponent cacher, IPropertyComponent properties) : base(cacher, properties, new Members <ConstructorInfo>(null, BindingFlags.Instance | BindingFlags.Public)) { }