Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- DataGridItemCollection.cs
- OnOperation.cs
- IconHelper.cs
- ManagedFilter.cs
- securitymgrsite.cs
- FixedSOMTable.cs
- GenericUriParser.cs
- PageAsyncTask.cs
- FacetEnabledSchemaElement.cs
- XPathExpr.cs
- TextBoxBase.cs
- ProviderConnectionPointCollection.cs
- LockCookie.cs
- NonParentingControl.cs
- ExpressionConverter.cs
- TripleDESCryptoServiceProvider.cs
- SecurityTokenResolver.cs
- TextViewBase.cs
- MetadataWorkspace.cs
- DataGridItemCollection.cs
- LockedAssemblyCache.cs
- PageThemeCodeDomTreeGenerator.cs
- XXXInfos.cs
- IUnknownConstantAttribute.cs
- KnownIds.cs
- MediaSystem.cs
- HttpProfileBase.cs
- CacheRequest.cs
- GeometryCollection.cs
- ColorAnimation.cs
- HtmlTableCellCollection.cs
- ExpressionValueEditor.cs
- RemotingException.cs
- SoapReflectionImporter.cs
- Context.cs
- ListenerServiceInstallComponent.cs
- PropertyMetadata.cs
- TimeSpanValidatorAttribute.cs
- TemplateBindingExtension.cs
- WindowsListViewItem.cs
- EntityContainerEmitter.cs
- XPathSelectionIterator.cs
- HMACSHA512.cs
- DynamicRendererThreadManager.cs
- _StreamFramer.cs
- DSASignatureFormatter.cs
- CodeMethodInvokeExpression.cs
- MachineKeySection.cs
- DiagnosticTraceSource.cs
- Html32TextWriter.cs
- ListViewDesigner.cs
- PriorityQueue.cs
- Parser.cs
- ConnectionPoint.cs
- MultiAsyncResult.cs
- FormCollection.cs
- FrameSecurityDescriptor.cs
- cookiecollection.cs
- ClientSettings.cs
- ConfigurationSchemaErrors.cs
- CqlGenerator.cs
- X509CertificateValidator.cs
- ToolStripTextBox.cs
- WebPartTransformer.cs
- ExcCanonicalXml.cs
- Typeface.cs
- GridItem.cs
- _NegotiateClient.cs
- IisTraceWebEventProvider.cs
- CrossSiteScriptingValidation.cs
- HostedBindingBehavior.cs
- DbConvert.cs
- HttpDebugHandler.cs
- Renderer.cs
- SafeWaitHandle.cs
- baseshape.cs
- UserPersonalizationStateInfo.cs
- EditingScope.cs
- DBCommand.cs
- XhtmlBasicTextBoxAdapter.cs
- KeyValueConfigurationElement.cs
- AppSecurityManager.cs
- StreamInfo.cs
- Timeline.cs
- WinEventQueueItem.cs
- CompletedAsyncResult.cs
- RowVisual.cs
- TableLayoutRowStyleCollection.cs
- Rules.cs
- NativeMethods.cs
- GetWinFXPath.cs
- ResetableIterator.cs
- TypefaceCollection.cs
- ProofTokenCryptoHandle.cs
- PropertyPath.cs
- FileSecurity.cs
- basecomparevalidator.cs
- ArrayList.cs
- OLEDB_Util.cs
- SqlAggregateChecker.cs