Class ProcessorRegistration
A processor registration.
Inheritance
Implements
Namespace: MESL.SqlRace.Domain.Functions
Assembly: MESL.SqlRace.Domain.dll
Syntax
public class ProcessorRegistration : Object, IProcessorRegistration
Constructors
ProcessorRegistration(String, Int32, Boolean, Int32, String, Boolean)
Initializes a new instance of the ProcessorRegistration class.
Declaration
public ProcessorRegistration(string identifier, int argCount, bool firstArgumentIsExecutionContext, int paramRefArgCount, string staticEntryPoint, bool requiresTimestamp)
Parameters
Type | Name | Description |
---|---|---|
System.String | identifier | The identifier. |
System.Int32 | argCount | The argument count. |
System.Boolean | firstArgumentIsExecutionContext | If set to |
System.Int32 | paramRefArgCount | The parameter reference argument count. |
System.String | staticEntryPoint | The static entry point. |
System.Boolean | requiresTimestamp | if set to |
ProcessorRegistration(String, Int32, Int32, Type, String, Boolean, Boolean)
Initializes a new instance of the ProcessorRegistration class.
Declaration
public ProcessorRegistration(string identifier, int argCount, int paramRefArgCount, Type processorType, string staticEntryPoint, bool canVariableArgumentReplaceParameterIdentifier, bool requiresTimestamp)
Parameters
Type | Name | Description |
---|---|---|
System.String | identifier | The identifier. |
System.Int32 | argCount | The argument count. |
System.Int32 | paramRefArgCount | The parameter reference argument count. |
System.Type | processorType | Type of the processor. |
System.String | staticEntryPoint | The static entry point. |
System.Boolean | canVariableArgumentReplaceParameterIdentifier | if set to |
System.Boolean | requiresTimestamp | if set to |
ProcessorRegistration(String, Int32, Int32, Type, String, Boolean, Boolean, IFunctionBehaviour[])
Initializes a new instance of the ProcessorRegistration class.
Declaration
public ProcessorRegistration(string identifier, int argCount, int paramRefArgCount, Type processorType, string staticEntryPoint, bool canVariableArgumentReplaceParameterIdentifier, bool requiresTimestamp, params IFunctionBehaviour[] functionBehaviours)
Parameters
Type | Name | Description |
---|---|---|
System.String | identifier | The identifier. |
System.Int32 | argCount | The argument count. |
System.Int32 | paramRefArgCount | The parameter reference argument count. |
System.Type | processorType | Type of the processor. |
System.String | staticEntryPoint | The static entry point. |
System.Boolean | canVariableArgumentReplaceParameterIdentifier | if set to |
System.Boolean | requiresTimestamp | if set to |
IFunctionBehaviour[] | functionBehaviours | Additional behaviours which the processor requires from the functions. |
Properties
ArgumentCount
Gets the argument count.
Declaration
public int ArgumentCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The argument count. |
CanVariableArgumentReplaceParameterIdentifier
Gets a value indicating whether [requires data sampled according to calculation mode].
Declaration
public bool CanVariableArgumentReplaceParameterIdentifier { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
FirstArgumentIsExecutionContext
Gets a value indicating whether [first argument is execution context].
Declaration
public bool FirstArgumentIsExecutionContext { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
FunctionBehaviours
Gets the function behaviours.
Declaration
public IList<IFunctionBehaviour> FunctionBehaviours { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<IFunctionBehaviour> | The function behaviours. |
Identifier
Gets the identifier.
Declaration
public string Identifier { get; }
Property Value
Type | Description |
---|---|
System.String | The identifier. |
ParameterReferenceArgumentCount
Gets the parameter reference argument count.
Declaration
public int ParameterReferenceArgumentCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The parameter reference argument count. |
Remarks
This is the number of arguments, starting from the first, that are parameter references.
ProcessorType
Gets the type of the processor.
Declaration
public Type ProcessorType { get; }
Property Value
Type | Description |
---|---|
System.Type | The type of the processor. |
RequiresProcessorStorage
Gets a value indicating whether the processor requires storage.
Declaration
public bool RequiresProcessorStorage { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
RequiresTimestamp
Gets a value indicating whether [requires timestamp].
Declaration
public bool RequiresTimestamp { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
StaticEntryPoint
Gets the static entry point.
Declaration
public string StaticEntryPoint { get; }
Property Value
Type | Description |
---|---|
System.String | The static entry point. |