public static GroupingDataflowBlockOptions ConvertToGroupingOptions(this DataflowBlockOptions options) { Contracts.Requires.That(options != null); var result = new GroupingDataflowBlockOptions(); options.CopyTo(result); return(result); }
public static DataflowBlockOptions CreateCopy(this DataflowBlockOptions options) { Contracts.Requires.That(options != null); var result = new DataflowBlockOptions(); options.CopyTo(result); return(result); }
public static ExecutionDataflowBlockOptions ConvertToExecutionOptions(this DataflowBlockOptions options) { Contracts.Requires.That(options != null); var result = new ExecutionDataflowBlockOptions(); options.CopyTo(result); return(result); }