/// <summary> /// 解析类的属性 /// </summary> /// <param name="bute">属性</param> /// <returns>返回解析完的字符串</returns> protected string AnalyticalXAribute(XAribute bute, bool isMain = false) { string codeString = XObject.GetOpenTypeCodeString(bute.MyOpenType); if (isMain) { codeString += " static "; } codeString += bute.ExName + " " + bute.Title + ";"; return(codeString); }