CUE.NET.Profiles.CueProfiles.LoadProfileByName C# (CSharp) Метод

LoadProfileByName() публичный статический Метод

Loads the profile with the given name.
public static LoadProfileByName ( string name = null ) : CUE.NET.Profiles.CueProfile
name string The name (the one given in CUE, not the filename) of the profile.
Результат CUE.NET.Profiles.CueProfile
        public static CueProfile LoadProfileByName(string name = null)
        {
            string id = null;
            if (name != null && !_profileNameMapping.TryGetValue(name, out id))
            {
                LoadProfileNames(); // Reload and try again
                if (!_profileNameMapping.TryGetValue(name, out id))
                    return null;
            }

            return LoadProfileByID(id);
        }