DrawingContextDrawingContextWalker.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Core / CSharp / System / Windows / Media / DrawingContextDrawingContextWalker.cs / 1 / DrawingContextDrawingContextWalker.cs

                            //---------------------------------------------------------------------------- 
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
// Description: DrawingContextDrawingContextWalker is a DrawingContextWalker 
//              that forwards all of it's calls to a DrawingContext.
// 
// History: 
//
//  2004/11/23 : timothyc - Created it. 
//  2005/06/20 : timothyc - Moved to codegen
//
//---------------------------------------------------------------------------
 
using MS.Internal;
using System; 
using System.Diagnostics; 
using System.Runtime.InteropServices;
using System.Windows; 
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D; 

namespace System.Windows.Media 
{ 
    /// 
    /// DrawingContextDrawingContextWalker is a DrawingContextWalker 
    /// that forwards all of it's calls to a DrawingContext.
    /// 
    internal partial class DrawingContextDrawingContextWalker: DrawingContextWalker
    { 
        /// 
        /// Constructor for DrawingContextDrawingContextWalker - this constructor accepts the 
        /// DrawingContext it should forward calls to. 
        /// 
        ///  DrawingContext - the DrawingContext to forward calls to  
        public DrawingContextDrawingContextWalker(DrawingContext drawingContext)
        {
            Debug.Assert (drawingContext != null);
 
            _drawingContext = drawingContext;
        } 
 
        // DrawingContext to forward calls to
        private DrawingContext _drawingContext; 
    }
}


// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//---------------------------------------------------------------------------- 
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
// Description: DrawingContextDrawingContextWalker is a DrawingContextWalker 
//              that forwards all of it's calls to a DrawingContext.
// 
// History: 
//
//  2004/11/23 : timothyc - Created it. 
//  2005/06/20 : timothyc - Moved to codegen
//
//---------------------------------------------------------------------------
 
using MS.Internal;
using System; 
using System.Diagnostics; 
using System.Runtime.InteropServices;
using System.Windows; 
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D; 

namespace System.Windows.Media 
{ 
    /// 
    /// DrawingContextDrawingContextWalker is a DrawingContextWalker 
    /// that forwards all of it's calls to a DrawingContext.
    /// 
    internal partial class DrawingContextDrawingContextWalker: DrawingContextWalker
    { 
        /// 
        /// Constructor for DrawingContextDrawingContextWalker - this constructor accepts the 
        /// DrawingContext it should forward calls to. 
        /// 
        ///  DrawingContext - the DrawingContext to forward calls to  
        public DrawingContextDrawingContextWalker(DrawingContext drawingContext)
        {
            Debug.Assert (drawingContext != null);
 
            _drawingContext = drawingContext;
        } 
 
        // DrawingContext to forward calls to
        private DrawingContext _drawingContext; 
    }
}


// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK