Class ExtensionMethods
Extension methods
Inheritance
System.Object
ExtensionMethods
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.MaestroAPI
Assembly: OSGeo.MapGuide.MaestroAPI.dll
Syntax
public static class ExtensionMethods
Methods
| Improve this Doc View SourceGenerateSessionResourceId(IServerConnection, String)
Generates the session resource id.
Declaration
public static string GenerateSessionResourceId(this IServerConnection conn, string resType)
Parameters
Type | Name | Description |
---|---|---|
IServerConnection | conn | The conn. |
System.String | resType | Type of the res. |
Returns
Type | Description |
---|---|
System.String |
GenerateSessionResourceId(IServerConnection, String, String)
Generates the session resource id.
Declaration
public static string GenerateSessionResourceId(this IServerConnection conn, string name, string resType)
Parameters
Type | Name | Description |
---|---|---|
IServerConnection | conn | The conn. |
System.String | name | The name. |
System.String | resType | Type of the res. |
Returns
Type | Description |
---|---|
System.String |
GetFeatureCount(IServerConnection, String, String, String)
Gets the total number of features in the feature class
Declaration
public static int GetFeatureCount(this IServerConnection conn, string featureSourceId, string featureClass, string filter)
Parameters
Type | Name | Description |
---|---|---|
IServerConnection | conn | |
System.String | featureSourceId | |
System.String | featureClass | |
System.String | filter |
Returns
Type | Description |
---|---|
System.Int32 |