public static string GetStringValue(this InfoContentFunction infoContentFunction) { switch (infoContentFunction) { case InfoContentFunction.InfoContent: return("info_content"); case InfoContentFunction.HighInfoContent: return("high_info_content"); case InfoContentFunction.LowInfoContent: return("low_info_content"); default: throw new ArgumentOutOfRangeException(nameof(infoContentFunction), infoContentFunction, null); } }
public InfoContentDetectorDescriptor(InfoContentFunction function) : base(function.GetStringValue()) { }
protected InfoContentDetectorBase(InfoContentFunction function) : base(function.GetStringValue()) { }