21 references to GetTypeModel
System.Xml (21)
System\Xml\Serialization\Models.cs (2)
72
model =
GetTypeModel
(type);
111
get { return ModelScope.
GetTypeModel
(TypeScope.GetArrayElementType(Type, null)); }
System\Xml\Serialization\SoapReflectionImporter.cs (5)
92
ImportTypeMapping(modelScope.
GetTypeModel
(type), limiter);
110
element.Mapping = ImportTypeMapping(modelScope.
GetTypeModel
(type), new RecursionLimiter());
224
baseMapping = ImportTypeMapping(modelScope.
GetTypeModel
(baseTypeDesc.Type), dataType, limiter);
652
attribute.Mapping = ImportTypeMapping(modelScope.
GetTypeModel
(accessorType), (a.SoapAttribute == null ? String.Empty : a.SoapAttribute.DataType), limiter);
666
element.Mapping = ImportTypeMapping(modelScope.
GetTypeModel
(accessorType), (a.SoapElement == null ? String.Empty : a.SoapElement.DataType), limiter);
System\Xml\Serialization\XmlReflectionImporter.cs (14)
118
TypeMapping mapping = ImportTypeMapping(modelScope.
GetTypeModel
(type), defaultNs, ImportContext.Element, string.Empty, null, limiter);
159
XmlTypeMapping xmlMapping = new XmlTypeMapping(typeScope, ImportElement(modelScope.
GetTypeModel
(type), root, defaultNamespace, new RecursionLimiter()));
394
baseMapping = ImportTypeMapping(modelScope.
GetTypeModel
(model.TypeDesc.BaseTypeDesc.Type), ns, context, dataType, null, repeats, openModel, limiter);
1307
arrayItemElement.Mapping = ImportTypeMapping(modelScope.
GetTypeModel
(targetType), arrayItemElement.Namespace, ImportContext.Element, xmlArrayItem.DataType, null, limiter);
1352
accessor.ChoiceIdentifier.Mapping = ImportTypeMapping(modelScope.
GetTypeModel
(choiceIdentifierType), ns, ImportContext.Element, String.Empty, null, limiter);
1390
attribute.Mapping = ImportTypeMapping(modelScope.
GetTypeModel
(targetType), ns, ImportContext.Attribute, a.XmlAttribute.DataType, null, isList, false, limiter);
1411
text.Mapping = ImportTypeMapping(modelScope.
GetTypeModel
(targetType), ns, ImportContext.Text, a.XmlText.DataType, null, true, false, limiter);
1424
TypeModel typeModel = modelScope.
GetTypeModel
(targetType);
1477
TypeModel typeModel = modelScope.
GetTypeModel
(targetType);
1552
attribute.Mapping = ImportTypeMapping(modelScope.
GetTypeModel
(accessorType), ns, ImportContext.Attribute, a.XmlAttribute.DataType, null, limiter);
1568
text.Mapping = ImportTypeMapping(modelScope.
GetTypeModel
(accessorType), ns, ImportContext.Text, a.XmlText.DataType, null, limiter);
1584
TypeModel typeModel = modelScope.
GetTypeModel
(accessorType);
1637
TypeModel typeModel = modelScope.
GetTypeModel
(targetType);
1692
TypeModel typeModel = modelScope.
GetTypeModel
(targetType);