예제 #1
0
파일: Ticket.cs 프로젝트: kei10in/KipSharp
 internal Ticket(
     ImmutableNamedElementCollection <Feature> features,
     ImmutableNamedElementCollection <ParameterInit> parameters,
     ImmutableNamedElementCollection <Property> properties,
     NamespaceDeclarationCollection namespaceDeclarations)
 {
     _features           = features;
     _parameters         = parameters;
     _properties         = properties;
     _declaredNamespaces = namespaceDeclarations;
 }
예제 #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());
        }
예제 #3
0
 internal NamespaceResolver(IReadOnlyNamespaceDeclarationCollection namespaces)
 {
     NamespaceDeclarations = new NamespaceDeclarationCollection(namespaces);
 }