Ejemplo n.º 1
0
            internal Entry(ObjectFeatureProvider owner, string projection, Type type, IList sourceList)
            {
                Contract.Requires(!String.IsNullOrEmpty(projection));
                Contract.Requires(type != null);
                Contract.Requires(owner != null);

                Owner = owner;

                // Build:
                Build(projection, type, sourceList);
            }
Ejemplo n.º 2
0
 private ObjectFeatureProvider(ObjectFeatureProvider baseProvider, ObjectFeatureFilter filter)
 {
     Contract.Requires(baseProvider != null);
     Contract.Requires(filter != null);
     
     entries = baseProvider.entries;
     SourceList = ApplyFilter(baseProvider.SourceList, filter);
 }