Support for generic Actions
This commit is contained in:
@@ -6,12 +6,12 @@ namespace Upsilon.BaseTypes.UserData
|
||||
{
|
||||
public static class UserDataTypeHandler
|
||||
{
|
||||
private static readonly Dictionary<System.Type, UserDataType> _types = new Dictionary<System.Type, UserDataType>();
|
||||
private static readonly Dictionary<System.Type, UserDataType> Types = new Dictionary<System.Type, UserDataType>();
|
||||
|
||||
public static void LoadType(System.Type t)
|
||||
{
|
||||
var info = new UserDataType(t);
|
||||
_types.Add(t, info);
|
||||
Types.Add(t, info);
|
||||
UserDataBoundTypeDefinition boundType;
|
||||
if (t.IsEnum)
|
||||
{
|
||||
@@ -31,7 +31,7 @@ namespace Upsilon.BaseTypes.UserData
|
||||
|
||||
internal static UserDataType GetTypeInfo(System.Type t)
|
||||
{
|
||||
return _types[t];
|
||||
return Types[t];
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user