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
- ComponentDispatcherThread.cs
- TCEAdapterGenerator.cs
- JavaScriptSerializer.cs
- Section.cs
- AccessibleObject.cs
- IdentifierCollection.cs
- EntitySqlQueryCacheEntry.cs
- DataGridViewRowsRemovedEventArgs.cs
- Completion.cs
- RegexCompiler.cs
- OneOfConst.cs
- SqlCaseSimplifier.cs
- FixedDocument.cs
- ColorConverter.cs
- BufferBuilder.cs
- MobileCategoryAttribute.cs
- cache.cs
- DebugControllerThread.cs
- RuleInfoComparer.cs
- IdnElement.cs
- XamlBrushSerializer.cs
- GeneratedCodeAttribute.cs
- DataSourceControl.cs
- MemberDescriptor.cs
- StateDesigner.TransitionInfo.cs
- HitTestFilterBehavior.cs
- PenThread.cs
- AppSecurityManager.cs
- CommandManager.cs
- QilGeneratorEnv.cs
- UpdatePanelTriggerCollection.cs
- SeparatorAutomationPeer.cs
- GridViewRowPresenter.cs
- ObsoleteAttribute.cs
- SortDescriptionCollection.cs
- ListDataHelper.cs
- HitTestWithPointDrawingContextWalker.cs
- Identifier.cs
- XmlWrappingReader.cs
- Command.cs
- DocumentPageView.cs
- SQLStringStorage.cs
- RoleGroupCollection.cs
- FillErrorEventArgs.cs
- MetadataItem_Static.cs
- Normalization.cs
- GeometryValueSerializer.cs
- XmlTextReaderImplHelpers.cs
- CodeDefaultValueExpression.cs
- BamlBinaryWriter.cs
- Padding.cs
- StyleSheet.cs
- EntityDataSourceDesignerHelper.cs
- GlyphTypeface.cs
- BitmapEffectGeneralTransform.cs
- NetCodeGroup.cs
- MetafileHeaderEmf.cs
- IIS7WorkerRequest.cs
- shaperfactoryquerycacheentry.cs
- XmlSchemaSimpleContentExtension.cs
- ServiceAuthorizationManager.cs
- SystemIPv6InterfaceProperties.cs
- SqlGenericUtil.cs
- DefaultProxySection.cs
- ConfigurationManagerInternal.cs
- TemplateAction.cs
- CapabilitiesRule.cs
- DrawingAttributes.cs
- StrongNameMembershipCondition.cs
- SrgsOneOf.cs
- Misc.cs
- ByteAnimationUsingKeyFrames.cs
- WindowsRegion.cs
- Effect.cs
- WebControl.cs
- BulletDecorator.cs
- DataGridViewCellStyleChangedEventArgs.cs
- ListControl.cs
- EventLogPermissionEntry.cs
- InplaceBitmapMetadataWriter.cs
- CSharpCodeProvider.cs
- BamlLocalizationDictionary.cs
- DataGridViewButtonColumn.cs
- DependencyObjectProvider.cs
- FixedPageStructure.cs
- GlobalItem.cs
- VisualStyleElement.cs
- OracleLob.cs
- ResourceAttributes.cs
- PenLineCapValidation.cs
- SamlAuthenticationStatement.cs
- OpCellTreeNode.cs
- WindowsListViewItemCheckBox.cs
- ImpersonationOption.cs
- EnterpriseServicesHelper.cs
- OdbcRowUpdatingEvent.cs
- RangeValuePatternIdentifiers.cs
- TagPrefixInfo.cs
- SuppressMessageAttribute.cs
- XslAst.cs