internal static object MessageClassDisplayNameGetter(IPropertyBag propertyBag) { string text = (string)propertyBag[ElcContentSettingsSchema.MessageClass]; if (string.IsNullOrEmpty(text)) { return(null); } return(ElcMessageClass.GetDisplayName(text)); }
public ElcMessageClass(string messageClass) : this(messageClass, ElcMessageClass.GetDisplayName(messageClass)) { }