Class AutoBaseExtensions
- Namespace
- BpNexT.NET.Extensions
- Assembly
- BpNexT.NET.dll
Provides extension methods for the BpNT.IAutoBase interface.
public static class AutoBaseExtensions
- Inheritance
-
objectAutoBaseExtensions
Methods
With<T>(T, Action<T>)
Executes the specified action on the specified object. Useful for chaining method calls.
public static void With<T>(this T obj, Action<T> action) where T : class, IAutoBase
Parameters
objTThe object to execute the action on.
actionAction<T>The action to execute.
Type Parameters
TThe type of the object.