Method NewScalar
| Improve this Doc View SourceNewScalar<T>(T, IEqualityComparer<T>)
Creates a new strongly typed scalar data which can be used as data binding source.
Declaration
protected Scalar<T> NewScalar<T>(T value = null, IEqualityComparer<T> equalityComparer = null)
Parameters
| Type | Name | Description |
|---|---|---|
| T | value | The initial value of the scalar data. |
| System.Collections.Generic.IEqualityComparer<T> | equalityComparer | The equality comparer. |
Returns
| Type | Description |
|---|---|
| Scalar<T> | A new strongly typed scalar data which can be used as data binding source. |
Type Parameters
| Name | Description |
|---|---|
| T | The type of the scalar data. |