예제 #1
0
        private void CollectDeclaredProperties(PropertyInfo[] properties, ProjectionPropertyCollection collection)
        {
            var factory    = Factory;
            var resolution = TraitResolution;

            foreach (var property in properties)
            {
                collection.Add(new ProjectionProperty(property, this, collection, factory, resolution), true);
            }
        }
예제 #2
0
 private static void CollectInheritedProperties(ProjectionTypeCollection baseTypes, ProjectionPropertyCollection collection)
 {
     foreach (var baseType in baseTypes)
     foreach (var property in baseType.Properties)
         collection.Add(property, false);
 }