Exemple #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);
        }
Exemple #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);
        }
Exemple #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);
        }
Exemple #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);
        }
Exemple #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);
 }
Exemple #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);
 }