C# Class SIL.Cog.Domain.DomainExtensions

Mostrar archivo Open project: sillsdev/cog

Public Methods

Method Description
DisplayLength ( this str ) : int
GenerateCognateSets ( this project, Meaning meaning ) : IEnumerable>
GetLeftNode ( ShapeNode>.this alignment, int seq, int col ) : ShapeNode
GetRightNode ( ShapeNode>.this alignment, int seq, int col ) : ShapeNode
GetString ( this fs ) : string
IsComplex ( this node ) : bool
IsComplex ( this ann ) : bool
OriginalStrRep ( this node ) : string
OriginalStrRep ( this ann ) : string
StrRep ( this node ) : string
StrRep ( this ann ) : string
ToNgram ( this nodes, SIL.Cog.Domain.SegmentPool segmentPool ) : Ngram
ToSoundContext ( this node, SIL.Cog.Domain.SegmentPool segmentPool, IEnumerable soundClasses ) : SoundContext
ToSoundContext ( ShapeNode>.this alignment, SIL.Cog.Domain.SegmentPool segmentPool, int seq, int col, IEnumerable soundClasses ) : SoundContext
ToString ( ShapeNode>.this alignment, IEnumerable notes ) : string
TryGetMatchingSoundClass ( this soundClasses, SIL.Cog.Domain.SegmentPool segmentPool, ShapeNode>.Alignment alignment, int seq, int col, SIL.Cog.Domain.SoundClass &soundClass ) : bool
TryGetMatchingSoundClass ( this soundClasses, SIL.Cog.Domain.SegmentPool segmentPool, ShapeNode node, SIL.Cog.Domain.SoundClass &soundClass ) : bool
Type ( this node ) : SIL.Machine.FeatureModel.FeatureSymbol
Type ( this ann ) : SIL.Machine.FeatureModel.FeatureSymbol

Private Methods

Method Description
AppendSequence ( StringBuilder sb, string prefix, int maxPrefixLen, IEnumerable columns, int maxColLens, string suffix, int maxSuffixLen, string separator ) : void
NodeFilter ( ShapeNode node ) : bool

Method Details

DisplayLength() public static method

public static DisplayLength ( this str ) : int
str this
return int

GenerateCognateSets() public static method

public static GenerateCognateSets ( this project, Meaning meaning ) : IEnumerable>
project this
meaning Meaning
return IEnumerable>

GetLeftNode() public static method

public static GetLeftNode ( ShapeNode>.this alignment, int seq, int col ) : ShapeNode
alignment ShapeNode>.this
seq int
col int
return ShapeNode

GetRightNode() public static method

public static GetRightNode ( ShapeNode>.this alignment, int seq, int col ) : ShapeNode
alignment ShapeNode>.this
seq int
col int
return ShapeNode

GetString() public static method

public static GetString ( this fs ) : string
fs this
return string

IsComplex() public static method

public static IsComplex ( this node ) : bool
node this
return bool

IsComplex() public static method

public static IsComplex ( this ann ) : bool
ann this
return bool

OriginalStrRep() public static method

public static OriginalStrRep ( this node ) : string
node this
return string

OriginalStrRep() public static method

public static OriginalStrRep ( this ann ) : string
ann this
return string

StrRep() public static method

public static StrRep ( this node ) : string
node this
return string

StrRep() public static method

public static StrRep ( this ann ) : string
ann this
return string

ToNgram() public static method

public static ToNgram ( this nodes, SIL.Cog.Domain.SegmentPool segmentPool ) : Ngram
nodes this
segmentPool SIL.Cog.Domain.SegmentPool
return Ngram

ToSoundContext() public static method

public static ToSoundContext ( this node, SIL.Cog.Domain.SegmentPool segmentPool, IEnumerable soundClasses ) : SoundContext
node this
segmentPool SIL.Cog.Domain.SegmentPool
soundClasses IEnumerable
return SoundContext

ToSoundContext() public static method

public static ToSoundContext ( ShapeNode>.this alignment, SIL.Cog.Domain.SegmentPool segmentPool, int seq, int col, IEnumerable soundClasses ) : SoundContext
alignment ShapeNode>.this
segmentPool SIL.Cog.Domain.SegmentPool
seq int
col int
soundClasses IEnumerable
return SoundContext

ToString() public static method

public static ToString ( ShapeNode>.this alignment, IEnumerable notes ) : string
alignment ShapeNode>.this
notes IEnumerable
return string

TryGetMatchingSoundClass() public static method

public static TryGetMatchingSoundClass ( this soundClasses, SIL.Cog.Domain.SegmentPool segmentPool, ShapeNode>.Alignment alignment, int seq, int col, SIL.Cog.Domain.SoundClass &soundClass ) : bool
soundClasses this
segmentPool SIL.Cog.Domain.SegmentPool
alignment ShapeNode>.Alignment
seq int
col int
soundClass SIL.Cog.Domain.SoundClass
return bool

TryGetMatchingSoundClass() public static method

public static TryGetMatchingSoundClass ( this soundClasses, SIL.Cog.Domain.SegmentPool segmentPool, ShapeNode node, SIL.Cog.Domain.SoundClass &soundClass ) : bool
soundClasses this
segmentPool SIL.Cog.Domain.SegmentPool
node ShapeNode
soundClass SIL.Cog.Domain.SoundClass
return bool

Type() public static method

public static Type ( this node ) : SIL.Machine.FeatureModel.FeatureSymbol
node this
return SIL.Machine.FeatureModel.FeatureSymbol

Type() public static method

public static Type ( this ann ) : SIL.Machine.FeatureModel.FeatureSymbol
ann this
return SIL.Machine.FeatureModel.FeatureSymbol