internal Ticket( ImmutableNamedElementCollection <Feature> features, ImmutableNamedElementCollection <ParameterInit> parameters, ImmutableNamedElementCollection <Property> properties, NamespaceDeclarationCollection namespaceDeclarations) { _features = features; _parameters = parameters; _properties = properties; _declaredNamespaces = namespaceDeclarations; }
static NamespaceDeclarationCollection() { var map = ImmutableDictionary.CreateBuilder <string, XNamespace>(); map.Add(Psf.Prefix, Psf.Namespace); map.Add(Xsi.Prefix, Xsi.Namespace); map.Add(Xsd.Prefix, Xsd.Namespace); map.Add(Psk.Prefix, Psk.Namespace); map.Add(Pskv11.Prefix, Pskv11.Namespace); Default = new NamespaceDeclarationCollection(map.ToImmutableDictionary()); }
internal NamespaceResolver(IReadOnlyNamespaceDeclarationCollection namespaces) { NamespaceDeclarations = new NamespaceDeclarationCollection(namespaces); }