Пример #1
0
 public DescribeFilterFor For(string category, string name, string description)
 {
     DescribeFilterFor describeFor;
     if (!_describes.TryGetValue(category, out describeFor))
     {
         describeFor = new DescribeFilterFor(category, name, description);
         _describes[category] = describeFor;
     }
     return describeFor;
 }
Пример #2
0
        public DescribeFilterFor For(string category, string name, string description)
        {
            DescribeFilterFor describeFor;

            if (!_describes.TryGetValue(category, out describeFor))
            {
                describeFor          = new DescribeFilterFor(category, name, description);
                _describes[category] = describeFor;
            }
            return(describeFor);
        }