Ejemplo n.º 1
0
        public EshuMethod GetEshuMethod()
        {
            EshuMethod eshuMethod = new EshuMethod(this.MethodName, this.MethodReturnType);

            eshuMethod.Parameters = new List <EshuProperty>();
            foreach (ParameterEditor parameterEditor in this.listBoxParameters.Items.OfType <ParameterEditor>())
            {
                EshuProperty eshuProperty = parameterEditor.GetEshuProperty();
                eshuMethod.Parameters.Add(eshuProperty);
            }
            return(eshuMethod);
        }
Ejemplo n.º 2
0
        internal EshuProperty GetEshuProperty()
        {
            EshuProperty eshuProperty = new EshuProperty(this.ParameterName, this.ParameterType);

            return(eshuProperty);
        }
Ejemplo n.º 3
0
 public ParameterEditor(EshuProperty property) : this()
 {
     this.textBlockVariableName.Text = property.Name;
     this.textBlockType.Text         = property.Type;
 }