Table of Contents

Class ObjectExtensions

Namespace
WhatIsHeDoing.Core.Extensions
Assembly
WhatIsHeDoing.Core.dll

Provides extension methods for all objects.

public static class ObjectExtensions
Inheritance
ObjectExtensions
Inherited Members

Methods

AsFluent<T>(T, Action)

Calls any action fluently, such as void functions, so that calls can be chained to other members of object.

public static T AsFluent<T>(this T @this, Action action)

Parameters

this T

Object

action Action

To call

Returns

T

This object

Type Parameters

T

Calling object type.

Exceptions

ArgumentNullException

If either argument is null