Search Results for

    Show / Hide Table of Contents

    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 Source

    ResourceContentVersionChecker(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

    | Improve this Doc View Source

    ResourceContentVersionChecker(String)

    Alternate constructor

    Declaration
    public ResourceContentVersionChecker(string xmlContent)
    Parameters
    Type Name Description
    System.String xmlContent

    Methods

    | Improve this Doc View Source

    Dispose()

    Disposes this instance

    Declaration
    public void Dispose()
    | Improve this Doc View Source

    GetVersion()

    Gets the resource content version

    Declaration
    public ResourceTypeDescriptor GetVersion()
    Returns
    Type Description
    ResourceTypeDescriptor
    | Improve this Doc View Source

    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
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2009 - 2022 Jackie Ng