Table of Contents

Class AutoBaseExtensions

Namespace
BpNexT.NET.Extensions
Assembly
BpNexT.NET.dll

Provides extension methods for the BpNT.IAutoBase interface.

public static class AutoBaseExtensions
Inheritance
object
AutoBaseExtensions

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

obj T

The object to execute the action on.

action Action<T>

The action to execute.

Type Parameters

T

The type of the object.