ArgsTests.NullableTests.Cleanup C# (CSharp) Метод

Cleanup() приватный Метод

private Cleanup ( ) : void
Результат void
        public void Cleanup()
        {
            var reviverType = (from a in typeof(Args).Assembly.GetTypes() where a.Name == "ArgRevivers" select a).Single();
            var prop = reviverType.GetProperty("Revivers", System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.NonPublic);
            var reviverDictionary = prop.GetValue(null, null) as Dictionary<Type, Func<string, string, object>>;
            reviverDictionary.Remove(typeof(Nullable<Guid>));
        }