Interface IFineGrainedAligner
Assembly: Sdl.Core.FineGrainedAlignment.dll
Syntax
public interface IFineGrainedAligner
Methods
AlignAsync(IEnumerable<IAlignableContentPair>)
Declaration
Task<bool> AlignAsync(IEnumerable<IAlignableContentPair> pairs)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
AlignAsync(IEnumerable<IAlignableContentPair>, CancellationToken, IProgress<Int32>)
Declaration
Task<bool> AlignAsync(IEnumerable<IAlignableContentPair> pairs, CancellationToken token, IProgress<int> progress)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<IAlignableContentPair> |
pairs |
|
System.Threading.CancellationToken |
token |
|
System.IProgress<System.Int32> |
progress |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
AlignExAsync(IEnumerable<IAlignableContentPair>)
Declaration
Task<AlignResult[]> AlignExAsync(IEnumerable<IAlignableContentPair> pairs)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<AlignResult[]> |
|
AlignExAsync(IEnumerable<IAlignableContentPair>, CancellationToken, IProgress<Int32>)
Declaration
Task<AlignResult[]> AlignExAsync(IEnumerable<IAlignableContentPair> pairs, CancellationToken token, IProgress<int> progress)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<IAlignableContentPair> |
pairs |
|
System.Threading.CancellationToken |
token |
|
System.IProgress<System.Int32> |
progress |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<AlignResult[]> |
|
CanAlign(IEnumerable<IAlignableContentPair>)
Declaration
bool[] CanAlign(IEnumerable<IAlignableContentPair> pairs)
Parameters
Returns
Type |
Description |
System.Boolean[] |
|
GetBulkMode()
Declaration
Returns
Type |
Description |
System.Boolean |
|
SetBulkModeAsync(Boolean)
Declaration
Task SetBulkModeAsync(bool bulkMode)
Parameters
Type |
Name |
Description |
System.Boolean |
bulkMode |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
SetErrorLogger(Action<Exception, String>)
Declaration
void SetErrorLogger(Action<Exception, string> logger)
Parameters
Type |
Name |
Description |
System.Action<System.Exception, System.String> |
logger |
|