Exemple #1
0
 public Method(string name, DataType returnType, IEnumerable<MethodParameter> parameters, IEnumerable<AttributeElement> attributes)
 {
     _name = name;
     _returnType = returnType;
     _parameters = parameters.ToArray();
     _attributes = attributes.ToArray();
 }
Exemple #2
0
 public Interface(string name, IEnumerable<Method> methods, IEnumerable<string> implements, IEnumerable<AttributeElement> attributes)
 {
     _name = name;
     _methods = methods.ToArray();
     _implements = implements.ToArray();
     _attributes = attributes.ToArray();
 }