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
- SqlDependency.cs
- HashCryptoHandle.cs
- InputMethodStateChangeEventArgs.cs
- GridViewSortEventArgs.cs
- BlurEffect.cs
- MultiBinding.cs
- ActivityInstanceMap.cs
- CachedCompositeFamily.cs
- MethodSignatureGenerator.cs
- DynamicResourceExtension.cs
- PreviousTrackingServiceAttribute.cs
- EpmCustomContentDeSerializer.cs
- PageSetupDialog.cs
- XomlCompilerResults.cs
- DocumentOrderQuery.cs
- SmtpReplyReader.cs
- HttpWebRequest.cs
- ProfileSettingsCollection.cs
- FormsAuthenticationUser.cs
- TextHintingModeValidation.cs
- SqlDependency.cs
- xmlsaver.cs
- KeyValueConfigurationElement.cs
- OSEnvironmentHelper.cs
- SqlDataSourceAdvancedOptionsForm.cs
- SqlDataSourceView.cs
- InvalidProgramException.cs
- SQLInt32.cs
- RegexStringValidator.cs
- SimpleTextLine.cs
- StringBlob.cs
- SoapFormatExtensions.cs
- DataTableMappingCollection.cs
- PrincipalPermission.cs
- GridViewColumnHeaderAutomationPeer.cs
- MultilineStringEditor.cs
- configsystem.cs
- XPathPatternBuilder.cs
- TemplatePropertyEntry.cs
- SelectionPattern.cs
- HiddenFieldPageStatePersister.cs
- HashSetDebugView.cs
- SemanticTag.cs
- SafeRightsManagementPubHandle.cs
- ExpandoClass.cs
- DateTimeValueSerializerContext.cs
- ActivityWithResult.cs
- EntityViewGenerator.cs
- RootNamespaceAttribute.cs
- _BasicClient.cs
- DecimalSumAggregationOperator.cs
- QuaternionAnimationBase.cs
- TextElementCollectionHelper.cs
- DbParameterHelper.cs
- Wildcard.cs
- ContextMenuAutomationPeer.cs
- TaskFormBase.cs
- metrodevice.cs
- Base64Stream.cs
- DetailsView.cs
- HandlerWithFactory.cs
- ObjectDataSourceStatusEventArgs.cs
- DetailsViewDeleteEventArgs.cs
- CallContext.cs
- NullRuntimeConfig.cs
- PerformanceCounterLib.cs
- CollectionConverter.cs
- DbCommandDefinition.cs
- PropertyEntry.cs
- MultipleViewPattern.cs
- PointCollection.cs
- UrlMappingsSection.cs
- BooleanSwitch.cs
- TimeoutValidationAttribute.cs
- panel.cs
- PageThemeCodeDomTreeGenerator.cs
- CollectionEditorDialog.cs
- ExpressionBuilder.cs
- BooleanStorage.cs
- Literal.cs
- XmlSchemaAppInfo.cs
- QueryResult.cs
- COM2Enum.cs
- GridViewItemAutomationPeer.cs
- FontFamily.cs
- TypeSystem.cs
- SerializationException.cs
- Wizard.cs
- FaultCode.cs
- SoapHeaders.cs
- SiteMapNodeItem.cs
- BinaryFormatterWriter.cs
- RightsManagementPermission.cs
- ListenerAdapter.cs
- C14NUtil.cs
- QueryCorrelationInitializer.cs
- XmlAttributeAttribute.cs
- HtmlTextArea.cs
- HitTestWithPointDrawingContextWalker.cs
- RangeExpression.cs