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);
        }
Esempio n. 2
0
        internal EshuProperty GetEshuProperty()
        {
            EshuProperty eshuProperty = new EshuProperty(this.ParameterName, this.ParameterType);

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