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>));
        }