Class FunctionFoundEventArgs<T>
Event arguments used when a function was found.
Inheritance
System.Object
System.EventArgs
FunctionFoundEventArgs<T>
Inherited Members
System.EventArgs.Empty
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: SpiceSharpBehavioral.Builders
Assembly: SpiceSharpBehavioral.dll
Syntax
public class FunctionFoundEventArgs<T> : EventArgs
Type Parameters
Name | Description |
---|---|
T | Base value type. |
Constructors
FunctionFoundEventArgs(String, IReadOnlyList<T>)
Initializes a new instance of the FunctionFoundEventArgs<T> class.
Declaration
public FunctionFoundEventArgs(string name, IReadOnlyList<T> arguments)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name. |
System.Collections.Generic.IReadOnlyList<T> | arguments | The arguments. |
Properties
Arguments
Gets the arguments of the function call.
Declaration
public IReadOnlyList<T> Arguments { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<T> | The arguments of the function call. |
Found
Gets a value indicating whether the function was found.
Declaration
public bool Found { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Name
Gets the name of the function.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the function. |
Result
Gets or sets the result.
Declaration
public T Result { get; set; }
Property Value
Type | Description |
---|---|
T | The result. |
See Also
System.EventArgs