File tree Expand file tree Collapse file tree
Shuttle.Core.Serialization Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33<package >
44 <metadata >
55 <id >Shuttle.Core.Serialization</id >
6- <version >10 .0.7 </version >
6+ <version >11 .0.0 </version >
77 <authors >Eben Roux</authors >
88 <owners >Eben Roux</owners >
99 <license type =" expression" >BSD-3-Clause</license >
Original file line number Diff line number Diff line change @@ -41,6 +41,9 @@ public DefaultSerializer()
4141 _namespaces . Add ( string . Empty , string . Empty ) ;
4242 }
4343
44+ public string Name => "Xml" ;
45+ public byte Id => 1 ;
46+
4447 public Stream Serialize ( object instance )
4548 {
4649 Guard . AgainstNull ( instance , nameof ( instance ) ) ;
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ namespace Shuttle.Core.Serialization
55{
66 public interface ISerializer
77 {
8+ string Name { get ; }
9+ byte Id { get ; }
810 Stream Serialize ( object instance ) ;
911 object Deserialize ( Type type , Stream stream ) ;
1012 }
Original file line number Diff line number Diff line change 1313[ assembly: AssemblyTitle ( ".NET Standard" ) ]
1414#endif
1515
16- [ assembly: AssemblyVersion ( "10 .0.7 .0" ) ]
16+ [ assembly: AssemblyVersion ( "11 .0.0 .0" ) ]
1717[ assembly: AssemblyCopyright ( "Copyright (c) 2022, Eben Roux" ) ]
1818[ assembly: AssemblyProduct ( "Shuttle.Core.Serialization" ) ]
1919[ assembly: AssemblyCompany ( "Eben Roux" ) ]
2020[ assembly: AssemblyConfiguration ( "Release" ) ]
21- [ assembly: AssemblyInformationalVersion ( "10 .0.7 " ) ]
21+ [ assembly: AssemblyInformationalVersion ( "11 .0.0 " ) ]
2222[ assembly: ComVisible ( false ) ]
You can’t perform that action at this time.
0 commit comments