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 Processor
Declaration
public ProcessorRegistration(string identifier, int argCount, bool firstArgumentIsExecutionContext, int paramRefArgCount, string staticEntryPoint, bool requiresTimestamp)
Parameters
Type | Name | Description |
---|---|---|
System. |
identifier | The identifier. |
System. |
argCount | The argument count. |
System. |
firstArgumentIsExecutionContext | If set to |
System. |
paramRefArgCount | The parameter reference argument count. |
System. |
staticEntryPoint | The static entry point. |
System. |
requiresTimestamp | if set to |
ProcessorRegistration(String, Int32, Int32, Type, String, Boolean, Boolean)
Initializes a new instance of the Processor
Declaration
public ProcessorRegistration(string identifier, int argCount, int paramRefArgCount, Type processorType, string staticEntryPoint, bool canVariableArgumentReplaceParameterIdentifier, bool requiresTimestamp)
Parameters
Type | Name | Description |
---|---|---|
System. |
identifier | The identifier. |
System. |
argCount | The argument count. |
System. |
paramRefArgCount | The parameter reference argument count. |
System. |
processorType | Type of the processor. |
System. |
staticEntryPoint | The static entry point. |
System. |
canVariableArgumentReplaceParameterIdentifier | if set to |
System. |
requiresTimestamp | if set to |
ProcessorRegistration(String, Int32, Int32, Type, String, Boolean, Boolean, IFunctionBehaviour[])
Initializes a new instance of the Processor
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. |
identifier | The identifier. |
System. |
argCount | The argument count. |
System. |
paramRefArgCount | The parameter reference argument count. |
System. |
processorType | Type of the processor. |
System. |
staticEntryPoint | The static entry point. |
System. |
canVariableArgumentReplaceParameterIdentifier | if set to |
System. |
requiresTimestamp | if set to |
IFunction |
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. |
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. |
|
FirstArgumentIsExecutionContext
Gets a value indicating whether [first argument is execution context].
Declaration
public bool FirstArgumentIsExecutionContext { get; }
Property Value
Type | Description |
---|---|
System. |
|
FunctionBehaviours
Gets the function behaviours.
Declaration
public IList<IFunctionBehaviour> FunctionBehaviours { get; }
Property Value
Type | Description |
---|---|
System. |
The function behaviours. |
Identifier
Gets the identifier.
Declaration
public string Identifier { get; }
Property Value
Type | Description |
---|---|
System. |
The identifier. |
ParameterReferenceArgumentCount
Gets the parameter reference argument count.
Declaration
public int ParameterReferenceArgumentCount { get; }
Property Value
Type | Description |
---|---|
System. |
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. |
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. |
|
RequiresTimestamp
Gets a value indicating whether [requires timestamp].
Declaration
public bool RequiresTimestamp { get; }
Property Value
Type | Description |
---|---|
System. |
|
StaticEntryPoint
Gets the static entry point.
Declaration
public string StaticEntryPoint { get; }
Property Value
Type | Description |
---|---|
System. |
The static entry point. |