Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / DrawingContextWalker.cs / 1305600 / DrawingContextWalker.cs
//---------------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // // Description: Contains base class for DrawingContext iterators // // History: // // 2004/04/02 : [....] - 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 : [....] - 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
- XmlHierarchicalDataSourceView.cs
- FormViewModeEventArgs.cs
- InvalidContentTypeException.cs
- GetBrowserTokenRequest.cs
- FocusTracker.cs
- PrivilegedConfigurationManager.cs
- BuildProviderAppliesToAttribute.cs
- DictionaryKeyPropertyAttribute.cs
- TableLayoutPanel.cs
- BindingExpression.cs
- EntityType.cs
- ErrorItem.cs
- ObjectDataSourceChooseTypePanel.cs
- SocketException.cs
- SafeFileMappingHandle.cs
- StatusBarPanel.cs
- PointLightBase.cs
- RelatedImageListAttribute.cs
- SettingsPropertyIsReadOnlyException.cs
- ToolStripRendererSwitcher.cs
- MissingManifestResourceException.cs
- SystemIPInterfaceProperties.cs
- DBBindings.cs
- CharUnicodeInfo.cs
- IPAddress.cs
- SqlMultiplexer.cs
- RichTextBox.cs
- COM2ICategorizePropertiesHandler.cs
- ChildDocumentBlock.cs
- FontFamily.cs
- StreamingContext.cs
- TextElement.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- httpapplicationstate.cs
- PeerTransportListenAddressConverter.cs
- PostBackTrigger.cs
- HtmlAnchor.cs
- PageContentCollection.cs
- XmlSerializableWriter.cs
- DataGridViewLinkCell.cs
- InkCanvasFeedbackAdorner.cs
- BitmapVisualManager.cs
- MarshalByValueComponent.cs
- FilterQueryOptionExpression.cs
- SqlDataSourceStatusEventArgs.cs
- WebPartMenu.cs
- DockAndAnchorLayout.cs
- DropAnimation.xaml.cs
- HtmlTableRow.cs
- OracleRowUpdatingEventArgs.cs
- WebEventCodes.cs
- DetailsViewModeEventArgs.cs
- GeometryValueSerializer.cs
- RuleSettingsCollection.cs
- SqlCrossApplyToCrossJoin.cs
- OperationInfo.cs
- HttpRequestCacheValidator.cs
- FragmentQuery.cs
- ObjectListCommandCollection.cs
- FullTextBreakpoint.cs
- _BufferOffsetSize.cs
- Operand.cs
- WebPartConnectVerb.cs
- RepeatBehaviorConverter.cs
- QilList.cs
- BinaryOperationBinder.cs
- Vector3D.cs
- SqlFileStream.cs
- SoapWriter.cs
- contentDescriptor.cs
- ValueTypeFixupInfo.cs
- Link.cs
- SpellerStatusTable.cs
- BitmapImage.cs
- XmlSerializerNamespaces.cs
- TextBoxView.cs
- X509ScopedServiceCertificateElement.cs
- ComponentEvent.cs
- SymDocumentType.cs
- Table.cs
- ParamArrayAttribute.cs
- TypeDescriptionProvider.cs
- SessionStateItemCollection.cs
- StylusDevice.cs
- CompilerError.cs
- KnownColorTable.cs
- RawTextInputReport.cs
- BStrWrapper.cs
- LocatorBase.cs
- ErrorFormatter.cs
- XmlTextReader.cs
- jithelpers.cs
- dbenumerator.cs
- TargetException.cs
- MimeMapping.cs
- TypeElement.cs
- ValidationSummary.cs
- CompilationRelaxations.cs
- D3DImage.cs
- ParserStreamGeometryContext.cs