Kanzi 4.1.0
IGenericUtilities Interface Reference

Public Member Functions

IDelayedExecutor CreateDelayedOnceExecutor (string name, int delayMs, DispatcherPriority dispatcherPriority, System.Action action)
 
bool DeleteFileNoThrow (string filePath)
 
string Format (string text, params object[] parameters)
 
int GetCombinedHashCode (params object[] instances)
 
string GetTempFileName (string extension)
 
bool IsDiskOperationException (Exception ex)
 
bool IsSuppressableException (Exception ex)
 
T SubscribeEvent< T > (T eventHandler)
 
bool ToTypedEquals< T > (object obj1, object obj2, TypedEqualsDelegate< T > typedEquals)
 
T UnsubscribeEvent< T > (T eventHandler)
 

Properties

bool IsRunningUnitTests [get]
 

Member Function Documentation

◆ CreateDelayedOnceExecutor()

IDelayedExecutor CreateDelayedOnceExecutor ( string name,
int delayMs,
DispatcherPriority dispatcherPriority,
System.Action action )

◆ DeleteFileNoThrow()

bool DeleteFileNoThrow ( string filePath)

◆ Format()

string Format ( string text,
params object[] parameters )

◆ GetCombinedHashCode()

int GetCombinedHashCode ( params object[] instances)

◆ GetTempFileName()

string GetTempFileName ( string extension)

◆ IsDiskOperationException()

bool IsDiskOperationException ( Exception ex)

◆ IsSuppressableException()

bool IsSuppressableException ( Exception ex)

◆ SubscribeEvent< T >()

T SubscribeEvent< T > ( T eventHandler)

◆ ToTypedEquals< T >()

bool ToTypedEquals< T > ( object obj1,
object obj2,
TypedEqualsDelegate< T > typedEquals )

◆ UnsubscribeEvent< T >()

T UnsubscribeEvent< T > ( T eventHandler)

Property Documentation

◆ IsRunningUnitTests

bool IsRunningUnitTests
get