Class ResourceContentVersionChecker
Inspects a resource content stream to determine the version of the resource content within
The stream to be inspected is copied and the inspection is made on the copy
Inheritance
System.Object
ResourceContentVersionChecker
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OSGeo.MapGuide.ObjectModels
Assembly: OSGeo.MapGuide.ObjectModels.dll
Syntax
public sealed class ResourceContentVersionChecker : IDisposable
Constructors
| Improve this Doc View SourceResourceContentVersionChecker(Stream)
Constructor
Declaration
public ResourceContentVersionChecker(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | The resource content stream. Inspection is done on a copy of this stream |
ResourceContentVersionChecker(String)
Alternate constructor
Declaration
public ResourceContentVersionChecker(string xmlContent)
Parameters
Type | Name | Description |
---|---|---|
System.String | xmlContent |
Methods
| Improve this Doc View SourceDispose()
Disposes this instance
Declaration
public void Dispose()
GetVersion()
Gets the resource content version
Declaration
public ResourceTypeDescriptor GetVersion()
Returns
Type | Description |
---|---|
ResourceTypeDescriptor |
GetVersionFromXmlStream(Stream)
Gets the version from XML stream.
Declaration
public static ResourceTypeDescriptor GetVersionFromXmlStream(Stream ms)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | ms | The ms. |
Returns
Type | Description |
---|---|
ResourceTypeDescriptor |
Implements
System.IDisposable