System.Xml.Serialization.XmlReflectionImporter.CreateRootMapping C# (CSharp) 메소드

CreateRootMapping() 개인적인 메소드

private CreateRootMapping ( ) : StructMapping
리턴 StructMapping
        private StructMapping CreateRootMapping()
        {
            TypeDesc typeDesc = _typeScope.GetTypeDesc(typeof(object));
            StructMapping mapping = new StructMapping();
            mapping.TypeDesc = typeDesc;
            mapping.TypeName = Soap.UrType;
            mapping.Namespace = XmlSchema.Namespace;
            mapping.Members = Array.Empty<MemberMapping>();
            mapping.IncludeInSchema = false;
            return mapping;
        }