Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Core / CSharp / System / Windows / Media / DrawingContextWalker.cs / 1 / DrawingContextWalker.cs
//----------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// Description: Contains base class for DrawingContext iterators
//
// History:
//
// 2004/04/02 : adsmith - Created it.
// 2005/06/20 : timothyc - Moved to codegen
//
//---------------------------------------------------------------------------
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Security.Permissions;
using System.Windows.Threading;
using System.Windows;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using MS.Internal;
namespace System.Windows.Media
{
///
/// DrawingContextWalker : The base class for DrawingContext iterators.
/// This is *not* thread safe
///
internal abstract partial class DrawingContextWalker : DrawingContext
{
///
/// Constructor for DrawingContextWalker
///
protected DrawingContextWalker()
{
// Nothing to do here
}
///
/// DrawingContextWalker implementations are never opened, so they shouldn't be closed.
///
public override sealed void Close()
{
Debug.Assert(false);
}
#region Protected methods
///
/// DrawingContextWalker implementations are never opened, so they shouldn't be disposed.
///
protected override void DisposeCore()
{
Debug.Assert(false);
}
///
/// StopWalking - If this called, the current walk will stop.
///
protected void StopWalking()
{
_stopWalking = true;
}
#endregion Protected methods
#region Internal properties
///
/// ShouldStopWalking Property - internal clients can consult this property to determine
/// whether or not the implementer of this DrawingContextWalker has called StopWalking.
/// This can also be set by internal callers.
///
internal bool ShouldStopWalking
{
get
{
return _stopWalking;
}
set
{
_stopWalking = value;
}
}
#endregion Internal properties
#region Private Members
private bool _stopWalking;
#endregion Private Members
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//----------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// Description: Contains base class for DrawingContext iterators
//
// History:
//
// 2004/04/02 : adsmith - Created it.
// 2005/06/20 : timothyc - Moved to codegen
//
//---------------------------------------------------------------------------
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Security.Permissions;
using System.Windows.Threading;
using System.Windows;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using MS.Internal;
namespace System.Windows.Media
{
///
/// DrawingContextWalker : The base class for DrawingContext iterators.
/// This is *not* thread safe
///
internal abstract partial class DrawingContextWalker : DrawingContext
{
///
/// Constructor for DrawingContextWalker
///
protected DrawingContextWalker()
{
// Nothing to do here
}
///
/// DrawingContextWalker implementations are never opened, so they shouldn't be closed.
///
public override sealed void Close()
{
Debug.Assert(false);
}
#region Protected methods
///
/// DrawingContextWalker implementations are never opened, so they shouldn't be disposed.
///
protected override void DisposeCore()
{
Debug.Assert(false);
}
///
/// StopWalking - If this called, the current walk will stop.
///
protected void StopWalking()
{
_stopWalking = true;
}
#endregion Protected methods
#region Internal properties
///
/// ShouldStopWalking Property - internal clients can consult this property to determine
/// whether or not the implementer of this DrawingContextWalker has called StopWalking.
/// This can also be set by internal callers.
///
internal bool ShouldStopWalking
{
get
{
return _stopWalking;
}
set
{
_stopWalking = value;
}
}
#endregion Internal properties
#region Private Members
private bool _stopWalking;
#endregion Private Members
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlSchemaInclude.cs
- DataControlPagerLinkButton.cs
- FacetEnabledSchemaElement.cs
- RepeaterItemEventArgs.cs
- ProgressiveCrcCalculatingStream.cs
- invalidudtexception.cs
- Validator.cs
- TextRunTypographyProperties.cs
- ADMembershipProvider.cs
- RadioButtonRenderer.cs
- BasicHttpSecurityElement.cs
- PageParserFilter.cs
- TableStyle.cs
- SQLInt64.cs
- TreeViewImageIndexConverter.cs
- InstanceLockLostException.cs
- WebHttpSecurityElement.cs
- TrackBarDesigner.cs
- Socket.cs
- XsltException.cs
- CurrentTimeZone.cs
- BitmapImage.cs
- ObjectTypeMapping.cs
- RuntimeCompatibilityAttribute.cs
- XmlRawWriterWrapper.cs
- QueryCursorEventArgs.cs
- CircleHotSpot.cs
- Model3DGroup.cs
- DrawingCollection.cs
- CodeDOMUtility.cs
- Int64.cs
- sqlnorm.cs
- X500Name.cs
- MenuEventArgs.cs
- CultureInfo.cs
- EditorPart.cs
- QilGenerator.cs
- XmlArrayItemAttributes.cs
- ThreadStaticAttribute.cs
- SecurityManager.cs
- EventPrivateKey.cs
- ScrollEvent.cs
- HtmlElementCollection.cs
- ListItemCollection.cs
- TraceHandler.cs
- WsdlInspector.cs
- ObjectStateManagerMetadata.cs
- AlternationConverter.cs
- IndicFontClient.cs
- Model3DGroup.cs
- ClrPerspective.cs
- NativeMethodsCLR.cs
- QueryAccessibilityHelpEvent.cs
- FactoryGenerator.cs
- XslCompiledTransform.cs
- ipaddressinformationcollection.cs
- remotingproxy.cs
- RepeaterItemEventArgs.cs
- ComNativeDescriptor.cs
- HtmlInputReset.cs
- DependencyPropertyValueSerializer.cs
- DataBindEngine.cs
- Gdiplus.cs
- WebPartActionVerb.cs
- DetailsViewCommandEventArgs.cs
- ImageKeyConverter.cs
- MailWebEventProvider.cs
- PreviewKeyDownEventArgs.cs
- CacheModeValueSerializer.cs
- CriticalExceptions.cs
- BindToObject.cs
- Console.cs
- D3DImage.cs
- PrintPreviewControl.cs
- DynamicFilter.cs
- CodeDelegateCreateExpression.cs
- EntityProviderFactory.cs
- SingleTagSectionHandler.cs
- WinEventQueueItem.cs
- PolyLineSegment.cs
- Constraint.cs
- ProxyFragment.cs
- GacUtil.cs
- TextElementAutomationPeer.cs
- ObjectManager.cs
- ObjectNavigationPropertyMapping.cs
- ReadOnlyMetadataCollection.cs
- InputLangChangeEvent.cs
- PeerInvitationResponse.cs
- updatecommandorderer.cs
- PermissionAttributes.cs
- SessionStateUtil.cs
- QilSortKey.cs
- DbProviderFactoriesConfigurationHandler.cs
- StringAnimationBase.cs
- SimpleExpression.cs
- CodeDirectoryCompiler.cs
- RemoteWebConfigurationHost.cs
- RecognizerStateChangedEventArgs.cs
- UInt64.cs