예제 #1
0
 public Constructor(AccessModifier accessModifier, String name)
 {
     this.Modifier          = new ConstructorModifier(accessModifier);
     this.Name              = name;
     this.Parameters        = new List <MethodParameter>();
     this.GenericParameters = new List <String>();
     this.Body              = new CodeBlockCollection();
 }
예제 #2
0
파일: Method.cs 프로젝트: youye00/higlabo
 public Method(MethodAccessModifier accessModifier, String name)
 {
     this.Modifier          = new MethodModifier(accessModifier);
     this.ReturnTypeName    = new TypeName("void");
     this.Name              = name;
     this.Parameters        = new List <MethodParameter>();
     this.GenericParameters = new List <String>();
     this.Body              = new CodeBlockCollection();
 }