Esempio n. 1
0
 private void WriteRiaClass(string className)
 {
     _cb.AppendLine("[MetadataType(typeof(" + className + "." + className + "Metadata))]");
     using (_cb.BeginBrace("public partial class " + className))
     {
         //write the buddy class
         using (_cb.BeginNest("internal sealed class " + className + "Metadata"))
         {
             WriteClassMembers(className);
         }
     }
 }