예제 #1
0
 public MethodContext(Type type, Property method, PropertyDefinition methodDefinition)
 {
     Type = type;
     Property = method;
     PropertyDefinition = methodDefinition;
     Marker = new MethodMarker();
     NameAlias = new NameAliasFactory();
     Importer = new ImporterFactory(this);
     Cloning = new MethodCloneFactory(this);
     Mixin = new MethodMixinExtension(this);
     Scope = new MethodScopingExtension(this);
     Assemblies = new AssemblyFactory();
 }
예제 #2
0
 public MethodContext(Type type, Property method, PropertyDefinition methodDefinition)
 {
     Type               = type;
     Property           = method;
     PropertyDefinition = methodDefinition;
     Marker             = new MethodMarker();
     NameAlias          = new NameAliasFactory();
     Importer           = new ImporterFactory(this);
     Cloning            = new MethodCloneFactory(this);
     Mixin              = new MethodMixinExtension(this);
     Scope              = new MethodScopingExtension(this);
     Assemblies         = new AssemblyFactory();
 }