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
- TriggerAction.cs
- JsonReader.cs
- EmissiveMaterial.cs
- DataBoundControlAdapter.cs
- CompilerError.cs
- ConnectionsZoneAutoFormat.cs
- Compensate.cs
- RectAnimationBase.cs
- ScriptingRoleServiceSection.cs
- Translator.cs
- ObjectCacheHost.cs
- SmiXetterAccessMap.cs
- BaseCodePageEncoding.cs
- panel.cs
- ScriptResourceHandler.cs
- TableColumnCollectionInternal.cs
- PersistenceTypeAttribute.cs
- Assert.cs
- ExpressionsCollectionConverter.cs
- MSAAEventDispatcher.cs
- WindowsIdentity.cs
- TraceUtility.cs
- httpserverutility.cs
- SourceSwitch.cs
- XMLSyntaxException.cs
- ParallelEnumerable.cs
- LinkButton.cs
- HierarchicalDataSourceControl.cs
- AsymmetricCryptoHandle.cs
- TableParagraph.cs
- IdnElement.cs
- ColorIndependentAnimationStorage.cs
- Brushes.cs
- WebPartVerbsEventArgs.cs
- OdbcStatementHandle.cs
- MetadataItemSerializer.cs
- VisualTreeHelper.cs
- ContractNamespaceAttribute.cs
- CalendarAutoFormat.cs
- OutOfMemoryException.cs
- XmlLanguageConverter.cs
- DBPropSet.cs
- ModelUIElement3D.cs
- cookieexception.cs
- SqlCacheDependencyDatabase.cs
- _ContextAwareResult.cs
- SecureConversationServiceCredential.cs
- _AuthenticationState.cs
- PlatformNotSupportedException.cs
- CodeChecksumPragma.cs
- XmlAttributes.cs
- Calendar.cs
- SecurityCriticalDataForSet.cs
- Emitter.cs
- SQlBooleanStorage.cs
- DrawingGroup.cs
- DispatchOperationRuntime.cs
- Error.cs
- Operand.cs
- OutputCacheModule.cs
- _HeaderInfoTable.cs
- Random.cs
- WindowsAuthenticationEventArgs.cs
- ByteStorage.cs
- NavigationWindow.cs
- IODescriptionAttribute.cs
- ApplyImportsAction.cs
- XsltArgumentList.cs
- QueryHandler.cs
- recordstatefactory.cs
- DPCustomTypeDescriptor.cs
- DesignerSerializationVisibilityAttribute.cs
- FontNamesConverter.cs
- TransformCollection.cs
- SoapTransportImporter.cs
- OleDbWrapper.cs
- ConnectionPoolManager.cs
- HttpDictionary.cs
- SqlClientFactory.cs
- CombinedGeometry.cs
- SuppressMessageAttribute.cs
- SupportingTokenSpecification.cs
- ReadOnlyDictionary.cs
- OpenTypeLayout.cs
- ManagementEventWatcher.cs
- DBCommandBuilder.cs
- TabPage.cs
- HtmlShim.cs
- PropertyMetadata.cs
- SiteMapHierarchicalDataSourceView.cs
- HostingEnvironment.cs
- CodeMemberProperty.cs
- RC2.cs
- _UncName.cs
- FragmentQueryProcessor.cs
- Light.cs
- Quad.cs
- Cell.cs
- DesignerFrame.cs
- CmsUtils.cs