Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SimpleMethod"/> class.
 /// </summary>
 /// <param name="name">The name.</param>
 /// <param name="prefix">The prefix.</param>
 /// <param name="type">The type.</param>
 public SimpleMethod(string name, string prefix, Type type)
 {
     this.prefix   = prefix;
     nameAndReturn = new SimpleVariable(name, type, null);
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SimpleConstructor"/> class.
 /// </summary>
 /// <param name="name">The name.</param>
 /// <param name="prefix">The prefix.</param>
 /// <param name="postfix">The postfix.</param>
 public SimpleConstructor(string name, string prefix, string postfix)
 {
     this.prefix   = prefix;
     this.postfix  = postfix;
     nameAndReturn = new SimpleVariable(name, null, null);
 }