Skip to content

Class: SafeAction<T1, T2, T3> ​

  • Namespace: Global
  • Assembly: Dew.Core.dll
csharp
public class SafeAction<T1, T2, T3>

Methods ​

Add(Action&lt;T1, T2, T3&gt;) ​

csharp
public SafeAction<T1, T2, T3> Add(Action<T1, T2, T3> handler)

Parameters:

NameTypeDescription
handlerSystem.Action&lt;T1, T2, T3&gt;&lt;T1, T2, T3&gt;

Returns: SafeAction&lt;T1, T2, T3&gt;

Contains(Action&lt;T1, T2, T3&gt;) ​

csharp
public bool Contains(Action<T1, T2, T3> handler)

Parameters:

NameTypeDescription
handlerSystem.Action&lt;T1, T2, T3&gt;&lt;T1, T2, T3&gt;

Returns: bool

Invoke(T1, T2, T3) ​

csharp
public void Invoke(T1 a, T2 b, T3 c)

Parameters:

NameTypeDescription
aT1
bT2
cT3

Remove(Action&lt;T1, T2, T3&gt;) ​

csharp
public SafeAction<T1, T2, T3> Remove(Action<T1, T2, T3> handler)

Parameters:

NameTypeDescription
handlerSystem.Action&lt;T1, T2, T3&gt;&lt;T1, T2, T3&gt;

Returns: SafeAction&lt;T1, T2, T3&gt;

Maintained by the Shape of Dreams Modding Community