public static void Main()
Console.WriteLine(MapContentSourceToString(null));
public static string MapContentSourceToString(ContentSourceType? contentSourceType)
string mappedSource = "NoSubscription";
switch (contentSourceType.GetValueOrDefault())
case ContentSourceType.ExternalProvider:
mappedSource = "External";
case ContentSourceType.CornerstoneLibrary:
case ContentSourceType.Both:
mappedSource = "NoSubscription";
public enum ContentSourceType