Search Results for

    Show / Hide Table of Contents

    Interface IResource

    Represents a MapGuide Resource

    Inherited Members
    IVersionedEntity.ResourceVersion
    System.ICloneable.Clone()
    System.ComponentModel.INotifyPropertyChanged.PropertyChanged
    Namespace: OSGeo.MapGuide.ObjectModels
    Assembly: OSGeo.MapGuide.ObjectModels.dll
    Syntax
    public interface IResource : IVersionedEntity, ICloneable, INotifyPropertyChanged

    Properties

    | Improve this Doc View Source

    IsStronglyTyped

    Indicates whether this resource is strongly typed. If false it means the implementer is a UntypedResource object. This usually means that the matching serializer could not be found because the resource version is unrecognised.

    Declaration
    [JsonIgnore]
    bool IsStronglyTyped { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    ResourceID

    Gets or sets the resource ID.

    Declaration
    [JsonIgnore]
    string ResourceID { get; set; }
    Property Value
    Type Description
    System.String

    The resource ID.

    | Improve this Doc View Source

    ResourceType

    Gets the type of the resource.

    Declaration
    [JsonIgnore]
    string ResourceType { get; }
    Property Value
    Type Description
    System.String

    The type of the resource.

    | Improve this Doc View Source

    ValidatingSchema

    Gets the validating schema.

    Declaration
    [JsonIgnore]
    string ValidatingSchema { get; }
    Property Value
    Type Description
    System.String

    The validating schema.

    Methods

    | Improve this Doc View Source

    Serialize()

    Serializes this instance to XML and returns the XML content. It is not recommended to call this method directly instead use OSGeo.MapGuide.ObjectModels.ResourceTypeRegistry.Serialize as that will invoke any pre-serialization hooks that may have been set up for this particular resource.

    Declaration
    string Serialize()
    Returns
    Type Description
    System.String

    Extension Methods

    ExtensionMethods.CopyResourceDataTo(IResource, IServerConnection, IResource)
    ExtensionMethods.CopyResourceDataTo(IResource, IServerConnection, String)
    ResourceExtensions.SerializeToStream(IResource)
    ResourceExtensions.GetResourceTypeDescriptor(IResource)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2009 - 2022 Jackie Ng