You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
SCJMapper-V2/SC/ActivationModes.cs

41 lines
860 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SCJMapper_V2
{
/// <summary>
/// Contains the ActivationMode from SC
/// can be:
/// "Default" using the defActivationMode setting of the profile
/// any of the List of profileDefined ones
/// </summary>
class ActivationModes : List<string>
{
public const String Default = "Use Profile";
/// <summary>
/// cTor: create a default one - with one Default element preset
/// </summary>
public ActivationModes( )
{
this.Add( Default ); // this is always in..
}
/// <summary>
/// cTor: create one with a first item only
/// </summary>
/// <param name="firstItem"></param>
public ActivationModes( string firstItem )
{
this.Clear( );
this.Add( firstItem );
}
}
}