//public void AddField(ZCFieldInfo zmc) //{ // _ZCompilingFields.Add(zmc); //} public ZCPropertyInfo DefinePropertyPublic(string PropertyName) { var ZPropertyCompiling = new ZCPropertyInfo(); //PropertyName = NameToken.Text; // this.ClassContext.AddPropertyName(PropertyName); ZPropertyCompiling.ZPropertyZName = PropertyName; // this.ClassContext.AddMember(ZPropertyCompiling); _ZCompilingPropertys.Add(ZPropertyCompiling); return(ZPropertyCompiling); }
public void AddProperty(ZCPropertyInfo zmc) { _ZCompilingPropertys.Add(zmc); }