Ejemplo n.º 1
0
        public KeParameter AddParameter(string name, KeTypeReference type)
        {
            KeParameter parameter = new KeParameter(this, name, type);

            this.Parameters.Add(parameter);
            return(parameter);
        }
Ejemplo n.º 2
0
 public void SetReturnType(KeTypeReference typeReference)
 {
     if (typeReference == null)
     {
         _returnType = null;
     }
     else
     {
         _returnType = new KeReturnType(typeReference);
     }
 }