Struct TransformAsyncOptions
- Namespace
- DynamicData
- Assembly
- DynamicData.dll
Options for TransformAsync and TransformSafeAsync.
public struct TransformAsyncOptions : IEquatable<TransformAsyncOptions>
- Implements
Constructors
TransformAsyncOptions(int?, bool)
Options for TransformAsync and TransformSafeAsync.
public TransformAsyncOptions(int? MaximumConcurrency, bool TransformOnRefresh)
Parameters
MaximumConcurrency
int?The maximum number of tasks in flight at once.
TransformOnRefresh
boolShould a new transform be applied when a refresh event is received.
Fields
Default
The default transform async option values, with is unlimited concurrency and do not transform on reset.
public static readonly TransformAsyncOptions Default
Field Value
- TransformAsyncOptions
A TransformAsyncOptions object.
Properties
MaximumConcurrency
The maximum number of tasks in flight at once.
public int? MaximumConcurrency { readonly get; set; }
Property Value
- int?
TransformOnRefresh
Should a new transform be applied when a refresh event is received.
public bool TransformOnRefresh { readonly get; set; }
Property Value
Methods
Deconstruct(out int?, out bool)
public readonly void Deconstruct(out int? MaximumConcurrency, out bool TransformOnRefresh)
Parameters
Equals(TransformAsyncOptions)
public readonly bool Equals(TransformAsyncOptions other)
Parameters
other
TransformAsyncOptions
Returns
Equals(object)
public override readonly bool Equals(object obj)
Parameters
obj
object
Returns
GetHashCode()
public override readonly int GetHashCode()
Returns
ToString()
public override readonly string ToString()
Returns
Operators
operator ==(TransformAsyncOptions, TransformAsyncOptions)
public static bool operator ==(TransformAsyncOptions left, TransformAsyncOptions right)
Parameters
left
TransformAsyncOptionsright
TransformAsyncOptions
Returns
operator !=(TransformAsyncOptions, TransformAsyncOptions)
public static bool operator !=(TransformAsyncOptions left, TransformAsyncOptions right)
Parameters
left
TransformAsyncOptionsright
TransformAsyncOptions