diff --git a/Upsilon/BoundTypes/UserDataBoundTypeDefinition.cs b/Upsilon/BoundTypes/UserDataBoundTypeDefinition.cs index 6cad4dc..4d25de9 100644 --- a/Upsilon/BoundTypes/UserDataBoundTypeDefinition.cs +++ b/Upsilon/BoundTypes/UserDataBoundTypeDefinition.cs @@ -17,6 +17,15 @@ namespace Upsilon.BoundTypes Name = backingType.Name; } + public UserDataBoundTypeDefinition(string name, Dictionary backingType) + : base(Type.UserData, typeof(void)) + { + Name = name; + Properties = backingType; + } + + + public static UserDataBoundTypeDefinition Create(System.Type backingType) { var obj = new UserDataBoundTypeDefinition(backingType)