示例#1
0
 private static void WriteSetter(GeneratorDecorator source, GeneratePropertyEventArgs args)
 {
     if (args != null)
     {
         args.WriteTabs();
         args.WriteSingleLine(false, "SetValue(value, Settings, AppVersion)");
     }
 }
 private void WriteGetter(GeneratorDecorator source, GeneratePropertyEventArgs args)
 {
     if (args != null)
     {
         args.WriteTabs();
         args.WriteSingleLine(true, "TotalPlayTime");
     }
 }
示例#3
0
 private static void WriteGetter(GeneratorDecorator source, GeneratePropertyEventArgs args)
 {
     if (args != null)
     {
         args.WriteTabs();
         args.WriteSingleLine(true, "Value");
     }
 }