Method Generate
Generate()
Gets the value of the specified environment variable for the current process and returns it through an observable sequence.
public override IObservable<string> Generate()
Returns
- IObservable<string>
A sequence containing the value of the specified environment variable. The value will be null if the environment variable is not found.
Generate<TSource>(IObservable<TSource>)
Gets the value of the specified environment variable for the current process whenever an observable sequence emits a notification.
public IObservable<string> Generate<TSource>(IObservable<TSource> source)
Parameters
source
IObservable<TSource>The sequence of notifications used to get the value of the environment variable.
Returns
- IObservable<string>
A sequence containing the current values of the specified environment variable. The value may be null if the environment variable is not found.
Type Parameters
TSource
The type of the elements in the
source
sequence.