Example #1
0
        //------------------------------------------------------
        //
        //  Constructors
        //
        //------------------------------------------------------

        #region Constructors


        /// <summary>
        /// Initializes a new instance of the  class, containing the specified data.
        /// </summary>
        internal ConstrainedDataObject(System.Windows.IDataObject data)
        {
            // This check guarantees us that we can never create a Constrained data Object with a null dataobject
            Invariant.Assert(data != null);
            _innerData = data;
        }
Example #2
0
 void UnexpectedCall()
 {
     Invariant.Assert(false, "Call to FrameworkObject expects either FE or FCE");
 }