Class ContinuousContexts<T>
prev., curt., next の一続きの T
のコンテキスト情報
Implements
Namespace: LibSasara.Model.FullContextLabel
Assembly: LibSasara.dll
Syntax
public sealed record ContinuousContexts<T> : IEquatable<ContinuousContexts<T>> where T : IFullContext
Type Parameters
Name | Description |
---|---|
T |
Constructors
ContinuousContexts(T, T, T)
prev., curt., next の一続きの T
のコンテキスト情報
Declaration
public ContinuousContexts(T previous, T current, T next)
Parameters
Type | Name | Description |
---|---|---|
T | previous | |
T | current | |
T | next |
Properties
Curt
現在の T
Declaration
public T Curt { get; }
Property Value
Type | Description |
---|---|
T |
See Also
Next
次の T
Declaration
public T Next { get; }
Property Value
Type | Description |
---|---|
T |
See Also
Prev
一つ前の T
Declaration
public T Prev { get; }
Property Value
Type | Description |
---|---|
T |
See Also
Methods
GetContext(PosOfContinous)
指定値のコンテクストT
を返す
Declaration
public T GetContext(PosOfContinous position)
Parameters
Type | Name | Description |
---|---|---|
PosOfContinous | position | 指定位置 |
Returns
Type | Description |
---|---|
T |