コード例 #1
0
 public Interface(string name)
 {
     Name              = name;
     Attributes        = new Collection <AttributeGroup>();
     GenericParameters = new Collection <GenericParameter>();
     Interfaces        = new Collection <InterfaceReference>();
     Body              = new InterfaceBody();
     Visibility        = TypeVisibilityModifier.Public;
 }
コード例 #2
0
 public StaticClassNestedInterface(string name)
 {
     Name              = name;
     Attributes        = new Collection <AttributeGroup>();
     GenericParameters = new Collection <GenericParameter>();
     Interfaces        = new Collection <InterfaceReference>();
     Body              = new InterfaceBody();
     Visibility        = ClassMemberVisibilityModifier.Private;
 }