Esempio n. 1
0
		static string GeneratePartialType(TypePartialData partialType)
		{
			XElement body;
			var doc = GetDoc(out body);
			body.Add(Section(
				partialType.Type.SimpleName + Names[Strings.SuffixDelimeter] + Names[partialType.SectionType.ToString()]),
				BuildMembers(partialType.SectionType, partialType.Type)
				);
			return doc.ToString();
		}
        static string GeneratePartialType(TypePartialData partialType)
        {
            var doc = GetDoc(out var body);

            body.Add(Section(
                         partialType.Type.SimpleName + Names[Strings.SuffixDelimeter] + Names[partialType.SectionType.ToString()]),
                     BuildMembers(partialType.SectionType, partialType.Type)
                     );
            return(doc.ToString());
        }