The field provider
More...
|
List< ApiField > | Arguments [get, set] |
| Gets or sets the list of arguments (if is set - this field becomes a method) More...
|
|
string | Description = new List<ApiField>() [get, set] |
| Gets or sets the human-readable type description for auto-publishing More...
|
|
EnFieldFlags | Flags [get, set] |
| Gets or sets the list of defined flags More...
|
|
string | Name [get, set] |
| Gets or sets the field name More...
|
|
EnScalarType | ScalarType [get, set] |
| Gets or sets the scalar type of the field More...
|
|
string | TypeName [get, set] |
| Gets or sets the field type name More...
|
|
List< AuthorizationRule > | AuthorizationRules [get, set] |
| Gets or sets the list of authorization requirements More...
|
|
List< LogAccessRule > | LogAccessRules [get, set] |
| Gets or sets the list of log access rules More...
|
|
bool | RequireAuthenticatedSession [get, set] |
| Gets or sets a value indicating whether a valid authenticated session is required for access this field More...
|
|
bool | RequireAuthenticatedUserSession [get, set] |
| Gets or sets a value indicating whether a valid authenticated user session is required for access this field More...
|
|
The field provider
Definition at line 26 of file ApiField.cs.
◆ ApiField() [1/2]
KlusterKite.API.Client.ApiField.ApiField |
( |
| ) |
|
◆ ApiField() [2/2]
KlusterKite.API.Client.ApiField.ApiField |
( |
string |
name, |
|
|
EnFieldFlags |
flags |
|
) |
| |
|
protected |
Initializes a new instance of the ApiField class.
- Parameters
-
name | The name. |
flags | The flags. |
Definition at line 46 of file ApiField.cs.
◆ CheckAuthorization()
Checks if provided context is authorized to access this field
- Parameters
-
context | The request context |
action | The performed action. |
- Returns
- Whether context is authorized to access this field
Definition at line 223 of file ApiField.cs.
◆ Clone()
ApiField KlusterKite.API.Client.ApiField.Clone |
( |
| ) |
|
Creates a clone of the current object
- Returns
- The cloned instance
Definition at line 299 of file ApiField.cs.
◆ FillAuthorizationProperties()
void KlusterKite.API.Client.ApiField.FillAuthorizationProperties |
( |
MemberInfo |
memberInfo | ) |
|
◆ Object()
Creates an object containing field
- Parameters
-
name | The field name |
typeName | The field type name |
flags | The field flags |
arguments | The arguments (if is set - this field becomes a method) |
description | The field description |
- Returns
- The new field
Definition at line 130 of file ApiField.cs.
◆ Scalar()
Creates a scalar containing field
- Parameters
-
name | The field name |
type | The field type |
flags | The field flags |
arguments | The arguments (if is set - this field becomes a method) |
description | The field description |
- Returns
- The new field
Definition at line 167 of file ApiField.cs.
◆ ToString()
override string KlusterKite.API.Client.ApiField.ToString |
( |
| ) |
|
◆ Arguments
List<ApiField> KlusterKite.API.Client.ApiField.Arguments |
|
getset |
Gets or sets the list of arguments (if is set - this field becomes a method)
Definition at line 57 of file ApiField.cs.
◆ AuthorizationRules
Gets or sets the list of authorization requirements
Definition at line 92 of file ApiField.cs.
◆ Description
string KlusterKite.API.Client.ApiField.Description = new List<ApiField>() |
|
getset |
Gets or sets the human-readable type description for auto-publishing
Definition at line 63 of file ApiField.cs.
◆ Flags
Gets or sets the list of defined flags
Definition at line 69 of file ApiField.cs.
◆ LogAccessRules
List<LogAccessRule> KlusterKite.API.Client.ApiField.LogAccessRules |
|
getset |
Gets or sets the list of log access rules
Definition at line 97 of file ApiField.cs.
◆ Name
string KlusterKite.API.Client.ApiField.Name |
|
getset |
Gets or sets the field name
Definition at line 75 of file ApiField.cs.
◆ RequireAuthenticatedSession
bool KlusterKite.API.Client.ApiField.RequireAuthenticatedSession |
|
getset |
Gets or sets a value indicating whether a valid authenticated session is required for access this field
Definition at line 102 of file ApiField.cs.
◆ RequireAuthenticatedUserSession
bool KlusterKite.API.Client.ApiField.RequireAuthenticatedUserSession |
|
getset |
Gets or sets a value indicating whether a valid authenticated user session is required for access this field
Definition at line 107 of file ApiField.cs.
◆ ScalarType
Gets or sets the scalar type of the field
Definition at line 81 of file ApiField.cs.
◆ TypeName
string KlusterKite.API.Client.ApiField.TypeName |
|
getset |
Gets or sets the field type name
Definition at line 87 of file ApiField.cs.
The documentation for this class was generated from the following file: