/// <summary>
 /// Initializes a new instance of the <see cref="DefaultSupportedPropertyFactory"/> class.
 /// </summary>
 public DefaultSupportedPropertyFactory(
     IPropertyRangeRetrievalPolicy rangeRetrieval,
     ISupportedPropertyMetaProvider metaProvider,
     IPropertyPredicateIdPolicy propertyPredicateIdPolicy)
 {
     _rangeRetrieval            = rangeRetrieval;
     _metaProvider              = metaProvider;
     _propertyPredicateIdPolicy = propertyPredicateIdPolicy;
 }
 public DefaultSupportedPropertyFactoryTests()
 {
     this.metaProvider = A.Fake <ISupportedPropertyMetaProvider>();
     this.propertyRangeRetrievalPolicy = A.Fake <IPropertyRangeRetrievalPolicy>();
     this.propertyPredicateIdPolicy    = A.Fake <IPropertyPredicateIdPolicy>();
     this.factory = new DefaultSupportedPropertyFactory(
         this.propertyRangeRetrievalPolicy,
         this.metaProvider,
         this.propertyPredicateIdPolicy,
         A.Fake <ISupportedOperationFactory>());
 }
Пример #3
0
 public DefaultSupportedPropertyFactoryTests()
 {
     _propertyType = A.Fake <IPropertyRangeMappingPolicy>();
     _metaProvider = A.Fake <ISupportedPropertyMetaProvider>();
     _propertyRangeRetrievalPolicy = A.Fake <IPropertyRangeRetrievalPolicy>();
     _propertyPredicateIdPolicy    = A.Fake <IPropertyPredicateIdPolicy>();
     _factory = new DefaultSupportedPropertyFactory(
         _propertyRangeRetrievalPolicy,
         _metaProvider,
         _propertyPredicateIdPolicy);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DefaultSupportedPropertyFactory"/> class.
 /// </summary>
 public DefaultSupportedPropertyFactory(
     IPropertyRangeRetrievalPolicy rangeRetrieval,
     ISupportedPropertyMetaProvider metaProvider,
     IPropertyPredicateIdPolicy propertyPredicateIdPolicy,
     ISupportedOperationFactory operationFactory)
 {
     this.rangeRetrieval            = rangeRetrieval;
     this.metaProvider              = metaProvider;
     this.propertyPredicateIdPolicy = propertyPredicateIdPolicy;
     this.operationFactory          = operationFactory;
 }