ReflectionCache Class

Summary

Caches types loaded via reflection for better performance on subsequent lookups.
Assembly
UltEvents.dll
Namespace
UltEvents
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["ReflectionCache"] class Type type-node

Syntax

public static class ReflectionCache

Methods

Name Value Summary
GetType(string) Type
Calls System.Type.GetType(System.String) and caches the result for subsequent calls.
static
SetType(string, Type) void
Sets a cached type for UltEvents.ReflectionCache.GetType(System.String).
static
SetType(Type) void
Sets a cached type for UltEvents.ReflectionCache.GetType(System.String).
static