Exemplo n.º 1
0
 private IProjectUserControl GetProjectUserControl(FistCoreSettingsType projectType)
 {
     switch (projectType)
     {
         case FistCoreSettingsType.OrmProject:
             return this.uiDbProject;
         case FistCoreSettingsType.DotNetProject:
             return this.uiDotNetProject;
         default:
             throw new ArgumentException("Unsupported project type: " + projectType.ToString() + ".");
     }
 }
Exemplo n.º 2
0
 public FistCoreSettings(FistCoreSettingsType settingsType)
 {
     this.SettingsType = settingsType;
     this.HasChanges = false;
 }