From 97968ef4913e81bae5b7c3dd1acaa042f3a0916d Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Fri, 7 Dec 2018 14:05:17 +0100 Subject: [PATCH] Fixed removed constructor that was needed for IDEs --- Upsilon/BoundTypes/UserDataBoundTypeDefinition.cs | 9 +++++++++ 1 file changed, 9 insertions(+) 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)