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"); }
public UriMatchRegex(WildcardUriMatch uriMatch, Regex regex) { UriMatch = uriMatch; Regex = regex; }
private ProviderMappingGroup CreateFakeDictionaryMappingGroup(FakeFrameworkContext frameworkContext) { var helper = new NhibernateTestSetupHelper(frameworkContext); var uriMatch = new WildcardUriMatch(new Uri("dictionary://")); var persistenceMappingGroup = new ProviderMappingGroup( "dictionary", uriMatch, helper.ReadonlyProviderSetup, helper.ProviderSetup, frameworkContext); return persistenceMappingGroup; }