public void Copy(ConfigGroup copyGroup) { if (copyGroup != null) { OnCopy(copyGroup); } }
override public void OnCopy(ConfigGroup copyGroup) { ExporterConfig copy = (ExporterConfig)copyGroup; MatchDirectory = copy.MatchDirectory ? copy.MatchDirectory : MatchDirectory; FileNamePattern = copy.FileNamePattern ?? FileNamePattern; ExportPattern = copy.ExportPattern ?? ExportPattern; }
override public void OnCopy(ConfigGroup copyGroup) { DeveloperConfig copy = (DeveloperConfig)copyGroup; DeveloperMode = copy.DeveloperMode ? copy.DeveloperMode : DeveloperMode; ProjectDrive = copy.ProjectDrive ?? ProjectDrive; DevToolsPath = copy.DevToolsPath ?? DevToolsPath; }
override public void OnCopy(ConfigGroup copyGroup) { ProjectConfig copy = (ProjectConfig)copyGroup; UseProject = copy.UseProject ? copy.UseProject : UseProject; ProjectDrive = copy.ProjectDrive ?? ProjectDrive; ProjectRootPath = copy.ProjectRootPath ?? ProjectRootPath; CharacterFolder = copy.CharacterFolder ?? CharacterFolder; RigSearchPathList = copy.RigSearchPathList ?? RigSearchPathList; }
override public void OnCopy(ConfigGroup copyGroup) { PerforceConfig copy = (PerforceConfig)copyGroup; Enabled = copy.Enabled ? copy.Enabled : Enabled; Host = copy.Host ?? Host; Server = copy.Server ?? Server; UserName = copy.UserName ?? UserName; ClientHostName = copy.ClientHostName ?? ClientHostName; WorkspaceName = copy.WorkspaceName ?? WorkspaceName; }
public ConfigGroup GetCategory(SettingsCategories category) { ConfigGroup returnGroup = null; if (category == SettingsCategories.DEVELOP) { returnGroup = InitSettings.Developer; } else if (category == SettingsCategories.PROJECT) { returnGroup = InitSettings.Project; } else if (category == SettingsCategories.EXPORTER) { returnGroup = InitSettings.Exporter; } else if (category == SettingsCategories.PERFORCE) { returnGroup = InitSettings.Perforce; } return(returnGroup); }
virtual public void OnCopy(ConfigGroup copyGroup) { }