コード例 #1
0
        public void AddPath(string path)
        {
            var element = new ResourceMatchElement();

            element.Path = path;
            BaseAdd(element);
        }
コード例 #2
0
        /// <summary>
        /// Adds the given regex pattern to the collection.
        /// </summary>
        /// <param name="pattern">A regular expression pattern.</param>
        public void AddPattern(string pattern)
        {
            var element = new ResourceMatchElement();

            element.Regex = pattern;
            BaseAdd(element);
        }
コード例 #3
0
 /// <summary>
 /// Adds the given regex pattern to the collection.
 /// </summary>
 /// <param name="pattern">A regular expression pattern.</param>
 public void AddPattern(string pattern)
 {
     var element = new ResourceMatchElement();
     element.Regex = pattern;
     BaseAdd(element);
 }
コード例 #4
0
 public void AddPath(string path)
 {
     var element = new ResourceMatchElement();
     element.Path = path;
     BaseAdd(element);
 }
コード例 #5
0
 public void Add(ResourceMatchElement element)
 {
     BaseAdd(element);
 }
コード例 #6
0
 public void Add(ResourceMatchElement element)
 {
     BaseAdd(element);
 }