SobekCM.Core.ApplicationState.Portal.Add_Possible_Aggregation C# (CSharp) Method

Add_Possible_Aggregation() public method

Adds a web skin code to the list of possible web skins that can be displayed through this portal
public Add_Possible_Aggregation ( string Aggregation_Code ) : void
Aggregation_Code string New web skin code to add
return void
        public void Add_Possible_Aggregation(string Aggregation_Code )
        {
            // Make sure this collection has been defined
            if (PossibleAggregations == null)
            {
                PossibleAggregations = new List<string> {Default_Aggregation.ToLower()};
            }

            if (!PossibleAggregations.Contains(Aggregation_Code.ToLower()))
                PossibleAggregations.Add(Aggregation_Code.ToLower());
        }