mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-02-15 21:38:54 +00:00
15 lines
703 B
C#
15 lines
703 B
C#
using System.IO;
|
|
|
|
namespace SabreTools.Serialization.Streams
|
|
{
|
|
public partial class SoftwareList : XmlFile<Models.SoftwareList.SoftwareList>
|
|
{
|
|
/// <inheritdoc cref="SerializeToStream(Models.SoftwareList.SoftwareList, string?, string?, string?, string?)" />
|
|
#if NET48
|
|
public Stream SerializeToStreamWithDocType(Models.SoftwareList.SoftwareList obj, string path)
|
|
#else
|
|
public Stream? SerializeToStreamWithDocType(Models.SoftwareList.SoftwareList? obj, string path)
|
|
#endif
|
|
=> Serialize(obj, Serialization.SoftawreList.DocTypeName, Serialization.SoftawreList.DocTypePubId, Serialization.SoftawreList.DocTypeSysId, Serialization.SoftawreList.DocTypeSysId);
|
|
}
|
|
} |