Пример #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);
        }
Пример #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);
        }
Пример #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);
        }
Пример #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);
        }
Пример #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);
 }
Пример #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);
 }