C# Class DotNetWorkQueue.Messages.LinqExpressionToRun

Defines a method to be executed; the linq expression will be compiled when consumed.
The caller must explicitly specify DLL references and using statements.
Mostra file Open project: blehnen/DotNetWorkQueue Class Usage Examples

Public Methods

Method Description
Equals ( object obj ) : bool

Determines whether the specified System.Object, is equal to this instance.

GetHashCode ( ) : int

Returns a hash code for this instance.

LinqExpressionToRun ( string linq, IReadOnlyList references = null, IReadOnlyList usings = null, bool unique = false ) : System.Collections.Generic

Initializes a new instance of the LinqExpressionToRun class.

Protected Methods

Method Description
CalculateHashCode ( ) : int

Calculates the hash code.

LinqExpressionToRun ( ) : System.Collections.Generic

Initializes a new instance of the LinqExpressionToRun class.

Method Details

CalculateHashCode() protected method

Calculates the hash code.
protected CalculateHashCode ( ) : int
return int

Equals() public method

Determines whether the specified System.Object, is equal to this instance.
public Equals ( object obj ) : bool
obj object The to compare with this instance.
return bool

GetHashCode() public method

Returns a hash code for this instance.
public GetHashCode ( ) : int
return int

LinqExpressionToRun() protected method

Initializes a new instance of the LinqExpressionToRun class.
protected LinqExpressionToRun ( ) : System.Collections.Generic
return System.Collections.Generic

LinqExpressionToRun() public method

Initializes a new instance of the LinqExpressionToRun class.
public LinqExpressionToRun ( string linq, IReadOnlyList references = null, IReadOnlyList usings = null, bool unique = false ) : System.Collections.Generic
linq string The linq.
references IReadOnlyList The references. Add any DLL references needed by your code here
usings IReadOnlyList The using statements. Add any using statements needed by your code here
unique bool if set to true this expression contains data that makes it likely to unique. The compiler may choose to not cache the output if this flag is true.
return System.Collections.Generic