public void Introspect(IFacetDecoratorSet decorator, IIntrospector introspector) {
     introspector.IntrospectType(Type, this);
     FullName = introspector.FullName;
     ShortName = introspector.ShortName;
     Superclass = introspector.Superclass;
     Interfaces = introspector.Interfaces.Cast<ITypeSpecImmutable>().ToImmutableList();
     Fields = introspector.Fields;
     ObjectActions = introspector.ObjectActions;
     DecorateAllFacets(decorator);
 }
 public void Introspect(IFacetDecoratorSet decorator, IIntrospector introspector)
 {
     introspector.IntrospectType(Type, this);
     FullName      = introspector.FullName;
     ShortName     = introspector.ShortName;
     Superclass    = introspector.Superclass;
     Interfaces    = introspector.Interfaces.Cast <ITypeSpecImmutable>().ToImmutableList();
     Fields        = introspector.Fields;
     ObjectActions = introspector.ObjectActions;
     DecorateAllFacets(decorator);
 }
예제 #3
0
 public ImmutableDictionary <string, ITypeSpecBuilder> Introspect(IFacetDecoratorSet decorator, IIntrospector introspector, ImmutableDictionary <string, ITypeSpecBuilder> metamodel)
 {
     metamodel     = introspector.IntrospectType(Type, this, metamodel);
     FullName      = introspector.FullName;
     ShortName     = introspector.ShortName;
     Superclass    = introspector.Superclass;
     Interfaces    = introspector.Interfaces.Cast <ITypeSpecImmutable>().ToImmutableList();
     Fields        = introspector.Fields;
     ObjectActions = introspector.ObjectActions;
     DecorateAllFacets(decorator);
     return(metamodel);
 }