Skip to main content

RenameOperation.Run Method

Containing Type: RenameOperation

Assembly: Orang.FileSystem.dll

Overloads

MethodSummary
Run(IEnumerable<String>, MatchEvaluator, CancellationToken)
Run(IEnumerable<String>, String, CancellationToken)
Run(String, MatchEvaluator, CancellationToken)
Run(String, String, CancellationToken)

Run(IEnumerable<String>, MatchEvaluator, CancellationToken)

public Orang.FileSystem.IOperationResult Run(System.Collections.Generic.IEnumerable<string> directoryPaths, System.Text.RegularExpressions.MatchEvaluator matchEvaluator, System.Threading.CancellationToken cancellationToken = default)

Parameters

directoryPaths IEnumerable<String>

matchEvaluator MatchEvaluator

cancellationToken CancellationToken

Returns

IOperationResult

Run(IEnumerable<String>, String, CancellationToken)

public Orang.FileSystem.IOperationResult Run(System.Collections.Generic.IEnumerable<string> directoryPaths, string? replacement = null, System.Threading.CancellationToken cancellationToken = default)

Parameters

directoryPaths IEnumerable<String>

replacement String

cancellationToken CancellationToken

Returns

IOperationResult

Run(String, MatchEvaluator, CancellationToken)

public Orang.FileSystem.IOperationResult Run(string directoryPath, System.Text.RegularExpressions.MatchEvaluator matchEvaluator, System.Threading.CancellationToken cancellationToken = default)

Parameters

directoryPath String

matchEvaluator MatchEvaluator

cancellationToken CancellationToken

Returns

IOperationResult

Run(String, String, CancellationToken)

public Orang.FileSystem.IOperationResult Run(string directoryPath, string? replacement = null, System.Threading.CancellationToken cancellationToken = default)

Parameters

directoryPath String

replacement String

cancellationToken CancellationToken

Returns

IOperationResult