Beispiel #1
0
 internal Ticket(
     ImmutableNamedElementCollection <Feature> features,
     ImmutableNamedElementCollection <ParameterInit> parameters,
     ImmutableNamedElementCollection <Property> properties,
     NamespaceDeclarationCollection namespaceDeclarations)
 {
     _features           = features;
     _parameters         = parameters;
     _properties         = properties;
     _declaredNamespaces = namespaceDeclarations;
 }
Beispiel #2
0
        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());
        }
Beispiel #3
0
 internal NamespaceResolver(IReadOnlyNamespaceDeclarationCollection namespaces)
 {
     NamespaceDeclarations = new NamespaceDeclarationCollection(namespaces);
 }