Exemplo n.º 1
0
        public void AddAnonymousType(string identifier, XmlSchemaElement parentElement, ClrTypeReference parentElementTypeRef)
        {
            AnonymousType at = new AnonymousType();

            at.identifier    = identifier;
            at.typeRefence   = parentElementTypeRef;
            at.parentElement = parentElement;
            anonymousTypes.Add(at);
        }
Exemplo n.º 2
0
        public void AddComplexRestrictedContentType(XmlSchemaComplexType wrappingType, ClrTypeReference wrappingTypeRef)
        {
            string        identifier = NameGenerator.MakeValidIdentifier(wrappingType.Name);
            AnonymousType at         = new AnonymousType();

            at.identifier   = identifier;
            at.typeRefence  = wrappingTypeRef;
            at.wrappingType = wrappingType;
            anonymousTypes.Add(at);
        }
Exemplo n.º 3
0
        public void AddAnonymousType(string identifier, XmlSchemaElement parentElement, ClrTypeReference parentElementTypeRef)
        {
            AnonymousType at = new AnonymousType()
            {
                identifier    = identifier,
                typeRefence   = parentElementTypeRef,
                parentElement = parentElement
            };

            this.anonymousTypes.Add(at);
        }
Exemplo n.º 4
0
        public void AddComplexRestrictedContentType(XmlSchemaComplexType wrappingType, ClrTypeReference wrappingTypeRef)
        {
            string        identifier = NameGenerator.MakeValidIdentifier(wrappingType.Name, this.ConfigSettings.NameMangler2);
            AnonymousType at         = new AnonymousType()
            {
                identifier   = identifier,
                typeRefence  = wrappingTypeRef,
                wrappingType = wrappingType
            };

            this.anonymousTypes.Add(at);
        }
Exemplo n.º 5
0
 public void AddComplexRestrictedContentType(XmlSchemaComplexType wrappingType, ClrTypeReference wrappingTypeRef) 
 {
     string identifier = NameGenerator.MakeValidIdentifier(wrappingType.Name);
     AnonymousType at = new AnonymousType();
     at.identifier = identifier;
     at.typeRefence = wrappingTypeRef;
     at.wrappingType = wrappingType;
     anonymousTypes.Add(at);
 }
Exemplo n.º 6
0
 public void AddAnonymousType(string identifier, XmlSchemaElement parentElement, ClrTypeReference parentElementTypeRef)
 {
     AnonymousType at = new AnonymousType();
     at.identifier = identifier;
     at.typeRefence = parentElementTypeRef;
     at.parentElement = parentElement;
     anonymousTypes.Add(at);
 }