Пример #1
0
 public ProviderMappingGroup(string key,
                             WildcardUriMatch singleMatch,
                             ReadonlyProviderSetup singleReader,
                             ProviderSetup singleWriter,
                             IFrameworkContext frameworkContext)
     : this(key, Enumerable.Repeat(singleMatch, 1), Enumerable.Repeat(singleReader, 1), Enumerable.Repeat(singleWriter, 1), frameworkContext)
 {
     Mandate.ParameterNotNull(singleReader, "singleReader");
     Mandate.ParameterNotNull(singleWriter, "singleWriter");
 }
Пример #2
0
 public UriMatchRegex(WildcardUriMatch uriMatch, Regex regex)
 {
     UriMatch = uriMatch;
     Regex    = regex;
 }