コード例 #1
0
ファイル: ApiBuilder.cs プロジェクト: swiebertje/ApiCheck
 public ApiTypeBuilder AbstractClass(string name = "MyAbstractClass", Type extends = null, Type[] interfaces = null)
 {
     return(ApiTypeBuilder.Type(this, name, TypeAttributes.Public | TypeAttributes.Abstract, extends, interfaces));
 }
コード例 #2
0
ファイル: ApiBuilder.cs プロジェクト: swiebertje/ApiCheck
 public ApiTypeBuilder Interface(string name = "MyInterface", Type[] interfaces = null)
 {
     return(ApiTypeBuilder.Type(this, name, TypeAttributes.Interface | TypeAttributes.Public | TypeAttributes.Abstract, null, interfaces));
 }
コード例 #3
0
ファイル: ApiBuilder.cs プロジェクト: swiebertje/ApiCheck
 public ApiTypeBuilder Class(string name = "MyClass", Type extends = null, Type[] interfaces = null, TypeAttributes attributes = TypeAttributes.Public)
 {
     return(ApiTypeBuilder.Type(this, name, attributes, extends, interfaces));
 }