Пример #1
0
        public TestDataRandomizer()
        {
            _current = DataRandomizer.Instance;

            _field = typeof(DataRandomizer).GetField("_instance",
                BindingFlags.Static |
                BindingFlags.NonPublic);

            _field.SetValue(null, this);
        }
Пример #2
0
        public TestDataRandomizer()
        {
            _current = DataRandomizer.Instance;

            _field = typeof(DataRandomizer).GetField("_instance",
                                                     BindingFlags.Static |
                                                     BindingFlags.NonPublic);

            _field.SetValue(null, this);
        }