Class PropertyLoadOption
Specifies which properties to load.
Inheritance
object
PropertyLoadOption
Implements
Namespace: StylelabsStylelabs.MStylelabs.M.FrameworkStylelabs.M.Framework.EssentialsLoadOptions
Assembly: Stylelabs.M.Sdk.dll
Syntax
Constructors
PropertyLoadOption()
Initializes a new instance of the PropertyLoadOption class. Defaults to LoadOption.None .
Declaration
PropertyLoadOption(IEnumerable)
Initializes a new instance of the PropertyLoadOption class.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<>string | propertyNames | Property names. |
PropertyLoadOption(LoadOption)
Initializes a new instance of the PropertyLoadOption class.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| LoadOption | loadOption | A LoadOption. |
PropertyLoadOption(params string[])
Initializes a new instance of the PropertyLoadOption class.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| string | propertyNames | Property names. |
Properties
All
Gets all properties.
Declaration
Property Value
| Type | Description |
|---|---|
| IPropertyLoadOption |
Gets or sets the load option.
Declaration
Property Value
| Type | Description |
|---|---|
| LoadOption |
None
Gets no properties.
Declaration
Property Value
| Type | Description |
|---|---|
| IPropertyLoadOption |
Properties
Gets or sets a list of property names (case insensitive) that need to be loaded. This is only useful when LoadOption is Custom.
Declaration
Property Value
| Type | Description |
|---|---|
| string |
Methods
DeepClone()
Creates a deep clone of this instance.
Declaration
Returns
| Type | Description |
|---|---|
| IPropertyLoadOption | The property load option. |
DeepEquals(IPropertyLoadOption)
Checks if this instance of IPropertyLoadOption is equal to other.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IPropertyLoadOption | other | The property load option. |
Returns
| Type | Description |
|---|---|
| bool | langword_csharp_True if the instances are equal; otherwise langword_csharp_False. |
Implements
If you have suggestions for improving this article, let us know!