Exemplo n.º 1
0
        private void AddFacetDerivedFromTypeIfPresent(IReflector reflector, ISpecification holder, Type type)
        {
            ITypicalLengthFacet facet = GetTypicalLengthFacet(reflector, type);

            if (facet != null)
            {
                FacetUtils.AddFacet(new TypicalLengthFacetDerivedFromType(facet, holder));
            }
        }
 public TypicalLengthFacetDerivedFromType(ITypicalLengthFacet typicalLengthFacet, ISpecification holder)
     : base(typicalLengthFacet.Value, holder)
 {
 }
Exemplo n.º 3
0
 public TypicalLengthFacetDerivedFromType(ITypicalLengthFacet typicalLengthFacet, IFacetHolder holder)
     : base(typicalLengthFacet.Value, holder) {}