private void Parse(string strTypeValue)
        {
            FilterTrackType trackType;
            if (!FilterTrackType.TryParse(strTypeValue, true, out trackType))
            {
                throw new InvalidDataException("Filter track type is invalid");
            }

            Value = trackType;
        }
Exemplo n.º 2
0
        private void Parse(string strTypeValue)
        {
            FilterTrackType trackType;

            if (!FilterTrackType.TryParse(strTypeValue, true, out trackType))
            {
                throw new InvalidDataException("Filter track type is invalid");
            }

            Value = trackType;
        }
 public FilterTrackTypeCondition(FilterTrackType type, FilterTrackCompareOperator op = FilterTrackCompareOperator.Equal)
     : base(op)
 {
     Value = type;
 }
Exemplo n.º 4
0
 public FilterTrackTypeCondition(FilterTrackType type, FilterTrackCompareOperator op = FilterTrackCompareOperator.Equal)
     : base(op)
 {
     Value = type;
 }