コード例 #1
0
 /// <summary>Stream the current element's Text as a ProtoTech</summary>
 internal static void StreamTechID <TDoc, TCursor>(IO.TagElementStream <TDoc, TCursor, string> s, BXmlSerializerInterface xs,
                                                   [Phx.Meta.BProtoTechReference] ref int techProtoId)
     where TDoc : class
     where TCursor : class
 {
     xs.StreamDBID(s, XML.XmlUtil.kNoXmlName, ref techProtoId, Phx.DatabaseObjectKind.Object,
                   false, XmlUtil.kSourceCursor);
 }
コード例 #2
0
 /// <summary>Stream the current element's Text as a ProtoObject or ObjectType</summary>
 internal static void StreamUnitID <TDoc, TCursor>(IO.TagElementStream <TDoc, TCursor, string> s, BXmlSerializerInterface xs,
                                                   ref int unitProtoId)
     where TDoc : class
     where TCursor : class
 {
     xs.StreamDBID(s, XML.XmlUtil.kNoXmlName, ref unitProtoId, Phx.DatabaseObjectKind.Unit,
                   false, XmlUtil.kSourceCursor);
 }
コード例 #3
0
 /// <summary>Stream the current element's Text as a ObjectType</summary>
 internal static void StreamObjectType <TDoc, TCursor>(IO.TagElementStream <TDoc, TCursor, string> s, BXmlSerializerInterface xs,
                                                       [Phx.Meta.ObjectTypeReference] ref int objectType)
     where TDoc : class
     where TCursor : class
 {
     xs.StreamDBID(s, XML.XmlUtil.kNoXmlName, ref objectType, Phx.DatabaseObjectKind.ObjectType,
                   false, XmlUtil.kSourceCursor);
 }