Ocean Serialization - Saving Custom Data Made Easy
Ocean Serialization - Saving Custom Data Made Easy
Ocean Serialization - Saving Custom Data Made Easy
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Implementing Factory<br />
class XYZ<strong>Data</strong>SourceFactory : <strong>Data</strong>SourceFactory<br />
{<br />
public static string <strong>Data</strong>SourceId = "XYZ<strong>Data</strong>SourceId";<br />
}<br />
public override I<strong>Data</strong>Source Get<strong>Data</strong>Source()<br />
{<br />
StructuredArchive<strong>Data</strong>Source dataSource =<br />
new StructuredArchive<strong>Data</strong>Source( <strong>Data</strong>SourceId,<br />
new[] { typeof(XYZObject) });<br />
return dataSource;<br />
}<br />
StructuredArchived<strong>Data</strong>Source – convenient<br />
datasource from framework