public IvPluginGroupSolutionSettings GetPluginGroupSolutionSettingsVm(string settings)
        {
            if (string.IsNullOrWhiteSpace(settings))
            {
                return(new PluginsGroupSettings());
            }
            var proto = proto_plugins_group_settings.Parser.ParseJson(settings);

            return(PluginsGroupSettings.ConvertToVM(proto, new PluginsGroupSettings()));
        }
Ejemplo n.º 2
0
        public IvPluginGroupSolutionSettings GetPluginGroupSolutionSettingsVmFromJson(string settings)
        {
            var res = new PluginsGroupSettings();

            if (!string.IsNullOrWhiteSpace(settings))
            {
                var proto = proto_plugins_group_settings.Parser.ParseJson(settings);
                res = PluginsGroupSettings.ConvertToVM(proto, res);
            }
            return(res);
        }
 protected virtual void OnVisitEnd(PluginsGroupSettings p)
 {
 }
 public void VisitEnd(PluginsGroupSettings p)
 {
     this.OnVisitEnd(p);
 }
 protected override void OnVisitEnd(PluginsGroupSettings p) // ValidationVisitor.tt Line: 48
 {
     Contract.Requires(p != null);
     this.OnVisitEnd(p as IValidatableWithSeverity);
 }