A mutable builder, capable of building sequences from elements and other collections.
Inheritance Hierarchy
Namespace: SequencesAssembly: Sequences (in Sequences.dll) Version: 1.0.1.0 (1.0.1)
Syntax
Type Parameters
- T
- The type of the elements in the resulting sequences.
The SequenceBuilder T type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SequenceBuilder T | Initializes a new instance of the SequenceBuilder T class |
Methods
Name | Description | |
---|---|---|
Append(IEnumerable T ) |
Appends a collection to this builder.
| |
Append(Func IEnumerable T ) |
Appends a lazily-evaluated collection to this builder.
| |
Append(Func T ) |
Appends a single lazily-evaluated element to this builder.
| |
Append(T) |
Appends a single element to this builder.
| |
Append( T ) |
Appends one or more elements to this builder.
| |
Clear |
Clears the contents of this builder.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToSequence |
Produces a sequence from the added elements.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Operators
Name | Description | |
---|---|---|
Addition(SequenceBuilder T , IEnumerable T ) |
Appends a collection to the builder.
| |
Addition(SequenceBuilder T , T) |
Appends a single element to the builder.
|
See Also