Class StreamingFragmentReader
Streams IVersionable items from a DDI XML fragment file.
Inheritance
System.Object
StreamingFragmentReader
Namespace: Algenta.Colectica.Model.Ddi.Serialization
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class StreamingFragmentReader : IDisposable
Constructors
StreamingFragmentReader(String)
Initializes a new instance of the StreamingFragmentReader class.
Declaration
public StreamingFragmentReader(string inputUri)
Parameters
Type | Name | Description |
---|---|---|
System.String | inputUri | The filename or URL of the DDI XML to be processed. |
Properties
FormatDetected
Gets the format of the DDI XML fragment file.
Declaration
public DdiFileFormat FormatDetected { get; }
Property Value
Type | Description |
---|---|
DdiFileFormat |
TopLevelReferences
Gets a list of top level items found in the fragment file.
Declaration
public ReadOnlyCollection<IdentifierTriple> TopLevelReferences { get; }
Property Value
Type | Description |
---|---|
ReadOnlyCollection<IdentifierTriple> |
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
GetItemStream()
Gets an enumerations of IVersionable items found in the DDI XML fragment file.
Declaration
public IEnumerable<IVersionable> GetItemStream()
Returns
Type | Description |
---|---|
IEnumerable<IVersionable> |