Thanks for your quick reply! When i use events as you suggested, the following exception occurs:
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at RestSharp.Deserializers.JsonDeserializer.CreateAndMap(Type type, Object element)
at RestSharp.Deserializers.JsonDeserializer.ConvertValue(Type type, Object value)
at RestSharp.Deserializers.JsonDeserializer.Map(Object target, IDictionary`2 data)
at RestSharp.Deserializers.JsonDeserializer.Deserialize[T](IRestResponse response)
at RestSharp.RestClient.Deserialize[T](IRestRequest request, IRestResponse raw)