Hourglass.Windows.ThemeManagerWindow.CloneThemeForEditing C# (CSharp) Method

CloneThemeForEditing() private method

Clones a theme. This creates a clone of an existing Theme, but with a new identifier and a ThemeType.UserProvided type.
private CloneThemeForEditing ( Theme theme ) : Theme
theme Hourglass.Timing.Theme A .
return Hourglass.Timing.Theme
        private Theme CloneThemeForEditing(Theme theme)
        {
            string identifier = Guid.NewGuid().ToString();
            return Theme.FromTheme(ThemeType.UserProvided, identifier, theme.Name, theme);
        }