跳到主要内容
版本:0.1.0

Class LoggingModule

Assembly: RCaron.dll
View Source
Declaration
csharp
[Module("LoggingModule")]
public class LoggingModule : IRCaronModule
Declaration
csharp
[Module("LoggingModule")]
public class LoggingModule : IRCaronModule

Implements:
RCaron.IRCaronModule

Methods

SayHello(Motor, in ReadOnlySpan<PosToken>)

View Source
Declaration
csharp
[Method("SayHello")]
public static object SayHello(Motor motor, in ReadOnlySpan<PosToken> arguments)
Declaration
csharp
[Method("SayHello")]
public static object SayHello(Motor motor, in ReadOnlySpan<PosToken> arguments)
Returns

System.Object

Parameters
TypeName
RCaron.Motormotor
System.ReadOnlySpan<RCaron.PosToken>arguments

Error(Motor, object)

View Source
Declaration
csharp
[Method("Error")]
public static void Error(Motor motor, object value)
Declaration
csharp
[Method("Error")]
public static void Error(Motor motor, object value)
Parameters
TypeName
RCaron.Motormotor
System.Objectvalue

Warn(Motor, object)

View Source
Declaration
csharp
[Method("Warn")]
public static void Warn(Motor motor, object value)
Declaration
csharp
[Method("Warn")]
public static void Warn(Motor motor, object value)
Parameters
TypeName
RCaron.Motormotor
System.Objectvalue

Info(Motor, object)

View Source
Declaration
csharp
[Method("Info")]
public static void Info(Motor motor, object value)
Declaration
csharp
[Method("Info")]
public static void Info(Motor motor, object value)
Parameters
TypeName
RCaron.Motormotor
System.Objectvalue

Debug(Motor, object)

View Source
Declaration
csharp
[Method("Debug")]
public static void Debug(Motor motor, object value)
Declaration
csharp
[Method("Debug")]
public static void Debug(Motor motor, object value)
Parameters
TypeName
RCaron.Motormotor
System.Objectvalue

ForUnitTests(Motor, long, long)

View Source
Declaration
csharp
[Method("ForUnitTests")]
public static long ForUnitTests(Motor motor, long a, long b = 1)
Declaration
csharp
[Method("ForUnitTests")]
public static long ForUnitTests(Motor motor, long a, long b = 1)
Returns

System.Int64

Parameters
TypeName
RCaron.Motormotor
System.Int64a
System.Int64b

MeasurePipelineCount(Motor, Pipeline)

View Source
Declaration
csharp
[Method("MeasurePipelineCount")]
public static long MeasurePipelineCount(Motor motor, Pipeline pipeline)
Declaration
csharp
[Method("MeasurePipelineCount")]
public static long MeasurePipelineCount(Motor motor, Pipeline pipeline)
Returns

System.Int64

Parameters
TypeName
RCaron.Motormotor
RCaron.Pipelinepipeline

SetVarFromPipeline(Motor, string, Pipeline)

View Source
Declaration
csharp
[Method("SetVarFromPipeline")]
public static void SetVarFromPipeline(Motor motor, string name, Pipeline pipeline)
Declaration
csharp
[Method("SetVarFromPipeline")]
public static void SetVarFromPipeline(Motor motor, string name, Pipeline pipeline)
Parameters
TypeName
RCaron.Motormotor
System.Stringname
RCaron.Pipelinepipeline

SetVarFromPipeline(Motor, string, object)

View Source
Declaration
csharp
[Method("SetVarFromPipelineObject")]
public static void SetVarFromPipeline(Motor motor, string name, object obj)
Declaration
csharp
[Method("SetVarFromPipelineObject")]
public static void SetVarFromPipeline(Motor motor, string name, object obj)
Parameters
TypeName
RCaron.Motormotor
System.Stringname
System.Objectobj

EnumeratorRange(Motor, int, int)

View Source
Declaration
csharp
[Method("EnumeratorRange")]
public static IEnumerator EnumeratorRange(Motor motor, int start, int end)
Declaration
csharp
[Method("EnumeratorRange")]
public static IEnumerator EnumeratorRange(Motor motor, int start, int end)
Returns

System.Collections.IEnumerator

Parameters
TypeName
RCaron.Motormotor
System.Int32start
System.Int32end

EnumerableRange(Motor, int, int)

View Source
Declaration
csharp
[Method("EnumerableRange")]
public static IEnumerable EnumerableRange(Motor motor, int start, int end)
Declaration
csharp
[Method("EnumerableRange")]
public static IEnumerable EnumerableRange(Motor motor, int start, int end)
Returns

System.Collections.IEnumerable

Parameters
TypeName
RCaron.Motormotor
System.Int32start
System.Int32end

MeasureEnumeratorCount(Motor, IEnumerator)

View Source
Declaration
csharp
[Method("MeasureEnumeratorCount")]
public static long MeasureEnumeratorCount(Motor motor, IEnumerator enumerator)
Declaration
csharp
[Method("MeasureEnumeratorCount")]
public static long MeasureEnumeratorCount(Motor motor, IEnumerator enumerator)
Returns

System.Int64

Parameters
TypeName
RCaron.Motormotor
System.Collections.IEnumeratorenumerator

Increment(Motor, int)

View Source
Declaration
csharp
[Method("Increment")]
public static int Increment(Motor motor, int value)
Declaration
csharp
[Method("Increment")]
public static int Increment(Motor motor, int value)
Returns

System.Int32

Parameters
TypeName
RCaron.Motormotor
System.Int32value

Enumerate(Motor, object)

View Source
Declaration
csharp
[Method("Enumerate")]
public static IEnumerator Enumerate(Motor _, object obj)
Declaration
csharp
[Method("Enumerate")]
public static IEnumerator Enumerate(Motor _, object obj)
Returns

System.Collections.IEnumerator

Parameters
TypeName
RCaron.Motor_
System.Objectobj

ConvertTo(Motor, object, Type)

View Source
Declaration
csharp
[Method("ConvertTo")]
public object ConvertTo(Motor _, object obj, Type type)
Declaration
csharp
[Method("ConvertTo")]
public object ConvertTo(Motor _, object obj, Type type)
Returns

System.Object

Parameters
TypeName
RCaron.Motor_
System.Objectobj
System.Typetype

RCaronModuleRun(ReadOnlySpan<char>, Motor, in ArraySegment<PosToken>, CallLikePosToken?, Pipeline?, bool)

View Source
Declaration
csharp
public object? RCaronModuleRun(ReadOnlySpan<char> name, Motor motor, in ArraySegment<PosToken> arguments, CallLikePosToken? callToken, Pipeline? pipeline, bool isLeftOfPipeline)
Declaration
csharp
public object? RCaronModuleRun(ReadOnlySpan<char> name, Motor motor, in ArraySegment<PosToken> arguments, CallLikePosToken? callToken, Pipeline? pipeline, bool isLeftOfPipeline)
Returns

System.Object

Parameters
TypeName
System.ReadOnlySpan<System.Char>name
RCaron.Motormotor
System.ArraySegment<RCaron.PosToken>arguments
RCaron.CallLikePosTokencallToken
RCaron.Pipelinepipeline
System.BooleanisLeftOfPipeline

Error_ReturnsNoReturnValue(Motor, object)

View Source
Declaration
csharp
public object Error_ReturnsNoReturnValue(Motor motor, object value)
Declaration
csharp
public object Error_ReturnsNoReturnValue(Motor motor, object value)
Returns

System.Object

Parameters
TypeName
RCaron.Motormotor
System.Objectvalue

Warn_ReturnsNoReturnValue(Motor, object)

View Source
Declaration
csharp
public object Warn_ReturnsNoReturnValue(Motor motor, object value)
Declaration
csharp
public object Warn_ReturnsNoReturnValue(Motor motor, object value)
Returns

System.Object

Parameters
TypeName
RCaron.Motormotor
System.Objectvalue

Info_ReturnsNoReturnValue(Motor, object)

View Source
Declaration
csharp
public object Info_ReturnsNoReturnValue(Motor motor, object value)
Declaration
csharp
public object Info_ReturnsNoReturnValue(Motor motor, object value)
Returns

System.Object

Parameters
TypeName
RCaron.Motormotor
System.Objectvalue

Debug_ReturnsNoReturnValue(Motor, object)

View Source
Declaration
csharp
public object Debug_ReturnsNoReturnValue(Motor motor, object value)
Declaration
csharp
public object Debug_ReturnsNoReturnValue(Motor motor, object value)
Returns

System.Object

Parameters
TypeName
RCaron.Motormotor
System.Objectvalue

SetVarFromPipeline_ReturnsNoReturnValue(Motor, string, Pipeline)

View Source
Declaration
csharp
public object SetVarFromPipeline_ReturnsNoReturnValue(Motor motor, string name, Pipeline pipeline)
Declaration
csharp
public object SetVarFromPipeline_ReturnsNoReturnValue(Motor motor, string name, Pipeline pipeline)
Returns

System.Object

Parameters
TypeName
RCaron.Motormotor
System.Stringname
RCaron.Pipelinepipeline

SetVarFromPipeline_ReturnsNoReturnValue(Motor, string, object)

View Source
Declaration
csharp
public object SetVarFromPipeline_ReturnsNoReturnValue(Motor motor, string name, object obj)
Declaration
csharp
public object SetVarFromPipeline_ReturnsNoReturnValue(Motor motor, string name, object obj)
Returns

System.Object

Parameters
TypeName
RCaron.Motormotor
System.Stringname
System.Objectobj

Implements

Extension Methods