Esempio n. 1
0
        protected SafeComWrapper(T target, bool rewrapping = false)
        {
            Target      = target;
            _rewrapping = rewrapping;

            if (!rewrapping && target != null)
            {
                _comSafe = ComSafeManager.GetCurrentComSafe();
                _comSafe.Add(this);
            }
        }