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
thisTObject
actionActionTo call
Returns
- T
This object
Type Parameters
TCalling object type.
Exceptions
- ArgumentNullException
If either argument is null