Class ChangeExtension
Represents an operator that changes the extension of each path string in the sequence.
public class ChangeExtension : Transform<string, string>
- Inheritance
-
ChangeExtension
- Inherited Members
Properties
Extension
Gets or sets the new extension, with or without a leading period. Specify null to remove any extension from the path.
public string Extension { get; set; }
Property Value
Methods
Process(IObservable<string>)
Changes the extension of each path string in an observable sequence.
public override IObservable<string> Process(IObservable<string> source)
Parameters
source
IObservable<string>A sequence of string values for which to change the extension.
Returns
- IObservable<string>
A sequence of string values representing the path string with the changed extension, for each path in the original sequence.