public Setting(BaseEnumType baseEnumType) { switch (baseEnumType) { case BaseEnumType.Live: { BaseUrl = "http://localhost:62257/"; break; } case BaseEnumType.Test: { BaseUrl = "http://localhost:62257/"; break; } default: break; } }
public TestEnumAttribute(BaseEnumType uniqueIndex) : base((int)uniqueIndex) { }