Example #1
0
        internal Surface(ObjectHandle handle)
        {
            Object = handle ?? throw new ArgumentNullException();

            if (Object.IsInvalid)
            {
                throw new ArgumentException();
            }

            Object.CheckState();
        }