Share via


ObjectExtensions Class

Definition

Object extensions methods

public ref class ObjectExtensions abstract sealed
public static class ObjectExtensions
type ObjectExtensions = class
Public Module ObjectExtensions
Inheritance
ObjectExtensions

Methods

EmptyIfNull<T>(IEnumerable<T>)

Return this enumeration in case it is not null. In case it is null return empty enumeration.

Enumerate<T>(T)

Returns an enumeration that contains only the given value.

Applies to