Example #1
0
        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);
            }
        }
Example #2
0
 public InfoContentDetectorDescriptor(InfoContentFunction function) : base(function.GetStringValue())
 {
 }
Example #3
0
 protected InfoContentDetectorBase(InfoContentFunction function) : base(function.GetStringValue())
 {
 }