Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- SelectionRange.cs
- SafeLocalMemHandle.cs
- X509Certificate.cs
- XPathDescendantIterator.cs
- WebPartMovingEventArgs.cs
- XPathArrayIterator.cs
- WhitespaceRuleLookup.cs
- VariableDesigner.xaml.cs
- WebPartDisplayModeEventArgs.cs
- AlternationConverter.cs
- TargetParameterCountException.cs
- Switch.cs
- SqlRowUpdatingEvent.cs
- CqlLexer.cs
- BitmapEffectrendercontext.cs
- ResXDataNode.cs
- PropertyExpression.cs
- ListViewItemCollectionEditor.cs
- SHA384.cs
- cookie.cs
- IsolatedStorageFilePermission.cs
- InstallerTypeAttribute.cs
- ReliableSessionBindingElementImporter.cs
- ListView.cs
- Light.cs
- UnknownWrapper.cs
- ResourceManager.cs
- CorrelationRequestContext.cs
- BinaryFormatter.cs
- LOSFormatter.cs
- InputReportEventArgs.cs
- securitycriticaldata.cs
- DataTableMapping.cs
- RemotingAttributes.cs
- BamlBinaryReader.cs
- IPHostEntry.cs
- odbcmetadatacollectionnames.cs
- PropertyChangedEventManager.cs
- XPathNode.cs
- BinaryNode.cs
- SessionSwitchEventArgs.cs
- SizeConverter.cs
- RegexGroupCollection.cs
- QualificationDataAttribute.cs
- Attachment.cs
- TakeQueryOptionExpression.cs
- XmlSecureResolver.cs
- DataControlField.cs
- DocumentEventArgs.cs
- HotSpot.cs
- StreamInfo.cs
- SingleAnimation.cs
- AutoResetEvent.cs
- LineSegment.cs
- uribuilder.cs
- ColorAnimationBase.cs
- WindowsProgressbar.cs
- XPathChildIterator.cs
- DataExpression.cs
- SafeArrayRankMismatchException.cs
- ItemList.cs
- ThreadPool.cs
- ConnectionPoint.cs
- DataBoundLiteralControl.cs
- UIPermission.cs
- ColumnMapTranslator.cs
- Parsers.cs
- FillBehavior.cs
- PropertyGrid.cs
- StructuredTypeEmitter.cs
- CollectionChange.cs
- ellipse.cs
- HttpValueCollection.cs
- ToolStripContentPanelRenderEventArgs.cs
- PagePropertiesChangingEventArgs.cs
- GridViewDeletedEventArgs.cs
- OutputCacheProfileCollection.cs
- CodeAssignStatement.cs
- AdPostCacheSubstitution.cs
- BindingWorker.cs
- DataGridViewComboBoxCell.cs
- HandledEventArgs.cs
- CopyNodeSetAction.cs
- SequenceFullException.cs
- InstancePersistenceException.cs
- Rfc2898DeriveBytes.cs
- ParagraphVisual.cs
- ParameterModifier.cs
- SecurityTokenAuthenticator.cs
- DashStyle.cs
- InvalidAsynchronousStateException.cs
- WebPartZone.cs
- TypeLibConverter.cs
- CheckBox.cs
- CategoryEditor.cs
- Pool.cs
- CompositeCollectionView.cs
- ConfigXmlSignificantWhitespace.cs
- TagElement.cs
- Parsers.cs