コード例 #1
0
        public IvPluginGeneratorSettings GetAppGenerationSettingsVmFromJson(string settings)
        {
            var vm = new GeneratorDbAccessSettings();

            if (!string.IsNullOrWhiteSpace(settings))
            {
                proto_generator_db_access_settings proto = proto_generator_db_access_settings.Parser.ParseJson(settings);
                vm = GeneratorDbAccessSettings.ConvertToVM(proto, vm);
            }
            return(vm);
        }
コード例 #2
0
 protected virtual void OnVisitEnd(GeneratorDbAccessSettings p)
 {
 }
コード例 #3
0
 public void VisitEnd(GeneratorDbAccessSettings p)
 {
     this.OnVisitEnd(p);
 }
コード例 #4
0
 protected override void OnVisitEnd(GeneratorDbAccessSettings p) // ValidationVisitor.tt Line: 48
 {
     Contract.Requires(p != null);
     this.OnVisitEnd(p as IValidatableWithSeverity);
 }
コード例 #5
0
 public MyModelVisitor(GeneratorDbAccessSettings pluginSettings)
 {
     this.pluginSettings = pluginSettings;
 }