Class CMPageSettings
CMPageSettings
Inheritance
System.Object
CMPageSettings
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Customers.Profile
Assembly: Mediachase.Commerce.dll
Version: 10.8.0Syntax
public class CMPageSettings : ISerializable
Constructors
CMPageSettings()
Initializes a new instance of the CMPageSettings class.
Declaration
public CMPageSettings()
CMPageSettings(SerializationInfo, StreamingContext)
Initializes a new instance of the CMPageSettings class.
Declaration
protected CMPageSettings(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The info. |
System.Runtime.Serialization.StreamingContext | context | The context. |
Methods
GetObjectData(SerializationInfo, StreamingContext)
Gets the object data.
Declaration
public void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The info. |
System.Runtime.Serialization.StreamingContext | context | The context. |
GetSettingInt(String, Int32)
Gets the setting int.
Declaration
public int GetSettingInt(string key, int defaultValue)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
System.Int32 | defaultValue | The default value. |
Returns
Type | Description |
---|---|
System.Int32 |
GetSettingString(String)
Gets the setting string.
Declaration
public string GetSettingString(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
Returns
Type | Description |
---|---|
System.String |
GetSettingString(String, String)
Gets the setting string.
Declaration
public string GetSettingString(string key, string defaultValue)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
System.String | defaultValue | The default value. |
Returns
Type | Description |
---|---|
System.String |
MakeGridPageSizeKey(String)
Makes the grid page size key.
Declaration
public static string MakeGridPageSizeKey(string viewId)
Parameters
Type | Name | Description |
---|---|---|
System.String | viewId | The view id. |
Returns
Type | Description |
---|---|
System.String |
MakeGridSettingsKey(String, String)
Makes the grid settings key.
Declaration
public static string MakeGridSettingsKey(string appId, string viewId)
Parameters
Type | Name | Description |
---|---|---|
System.String | appId | The app id. |
System.String | viewId | The view id. |
Returns
Type | Description |
---|---|
System.String |
SetSettingInt(String, Int32)
Sets the setting int.
Declaration
public void SetSettingInt(string key, int settings)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
System.Int32 | settings | The settings. |
SetSettingString(String, String)
Sets the setting string.
Declaration
public void SetSettingString(string key, string settings)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
System.String | settings | The settings. |
Implements
System.Runtime.Serialization.ISerializable