public static string ToString(EtlMessageType messageType) { switch (messageType) { case EtlMessageType.SessionStart: return(Properties.Resources.SessionStart); case EtlMessageType.SessionEnd: return(Properties.Resources.SessionEnd); case EtlMessageType.StepStart: return(Properties.Resources.StepStart); case EtlMessageType.StepEnd: return(Properties.Resources.StepEnd); case EtlMessageType.Error: return(Properties.Resources.Error); case EtlMessageType.Information: return(Properties.Resources.Information); case EtlMessageType.Debug: return(Properties.Resources.Debug); default: return(Properties.Resources.UnknownMessageType); } }
public static string GetEtlMessageClass(EtlMessageType type) { switch (type) { case EtlMessageType.Error: //case EtlMessageType.DataLostWarning: //case EtlMessageType.ValidationWarning: return "redbox"; default: return ""; } }
public static string GetEtlMessageClass(EtlMessageType type) { switch (type) { case EtlMessageType.Error: //case EtlMessageType.DataLostWarning: //case EtlMessageType.ValidationWarning: return("redbox"); default: return(""); } }
public static string ToString(EtlMessageType messageType) { switch (messageType) { case EtlMessageType.SessionStart: return Properties.Resources.SessionStart; case EtlMessageType.SessionEnd: return Properties.Resources.SessionEnd; case EtlMessageType.StepStart: return Properties.Resources.StepStart; case EtlMessageType.StepEnd: return Properties.Resources.StepEnd; case EtlMessageType.Error: return Properties.Resources.Error; case EtlMessageType.Information: return Properties.Resources.Information; case EtlMessageType.Debug: return Properties.Resources.Debug; default: return Properties.Resources.UnknownMessageType; } }