Table of Contents

Class GetFileName

Namespace
Bonsai.IO
Assembly
Bonsai.System.dll

Represents an operator that returns the file name and extension of each path string in the sequence.

public class GetFileName : Transform<string, string>
Inheritance
GetFileName
Inherited Members

Methods

Process(IObservable<string>)

Returns the file name and 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 from which to obtain the file name and extension.

Returns

IObservable<string>

A sequence of string values containing the characters after the last directory character of each path in the original sequence (see GetExtension(string)).