Class ResourceExtensions
Extension method class
Inheritance
System.Object
ResourceExtensions
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 static class ResourceExtensions
Methods
| Improve this Doc View SourceGetResourceTypeDescriptor(IResource)
Gets the resource type descriptor.
Declaration
public static ResourceTypeDescriptor GetResourceTypeDescriptor(this IResource res)
Parameters
Type | Name | Description |
---|---|---|
IResource | res | The res. |
Returns
Type | Description |
---|---|
ResourceTypeDescriptor | The resource type descriptor |
SerializeToStream(IResource)
Serializes to stream.
Declaration
public static Stream SerializeToStream(this IResource res)
Parameters
Type | Name | Description |
---|---|---|
IResource | res | The resource |
Returns
Type | Description |
---|---|
System.IO.Stream | The serialized stream |