Exemple #1
0
        public void SetPreferences(BuildPreferencesType type, BuildPreferences value)
        {
            switch (type)
            {
            case BuildPreferencesType.Internal:
                internalPreferences = value;
                break;

            case BuildPreferencesType.Test:
                testPreferences = value;
                break;

            case BuildPreferencesType.Release:
                releasePreferences = value;
                break;
            }

            return;
        }
Exemple #2
0
        public BuildPreferences GetPreferences(BuildPreferencesType type)
        {
            BuildPreferences preferences = null;

            switch (type)
            {
            case BuildPreferencesType.Internal:
                preferences = internalPreferences;
                break;

            case BuildPreferencesType.Test:
                preferences = testPreferences;
                break;

            case BuildPreferencesType.Release:
                preferences = releasePreferences;
                break;
            }

            return(preferences);
        }