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
- Attributes.cs
- OutputScope.cs
- SoundPlayer.cs
- WebColorConverter.cs
- PriorityChain.cs
- TreeNodeCollection.cs
- ImageAnimator.cs
- XPathNodeIterator.cs
- WizardForm.cs
- StringHandle.cs
- NamespaceImport.cs
- ArrangedElement.cs
- DefaultMemberAttribute.cs
- TableCell.cs
- XmlQualifiedName.cs
- MachineKeySection.cs
- XmlExtensionFunction.cs
- GraphicsContext.cs
- ProvidersHelper.cs
- HScrollBar.cs
- EasingQuaternionKeyFrame.cs
- CorrelationQuery.cs
- SafeTokenHandle.cs
- TreeNodeClickEventArgs.cs
- EntityTypeBase.cs
- TypeConverterValueSerializer.cs
- ButtonBaseDesigner.cs
- AuthenticatedStream.cs
- RetrieveVirtualItemEventArgs.cs
- ProvideValueServiceProvider.cs
- CellTreeNode.cs
- TrackingProfile.cs
- ClientUtils.cs
- AddInDeploymentState.cs
- VirtualizingPanel.cs
- LeftCellWrapper.cs
- RoleGroupCollection.cs
- GridViewUpdateEventArgs.cs
- HexParser.cs
- ProtocolsSection.cs
- ToolBarOverflowPanel.cs
- _SslState.cs
- Int32Storage.cs
- ExtendedPropertiesHandler.cs
- SoapCodeExporter.cs
- XmlSchemaAll.cs
- ListItemParagraph.cs
- Wizard.cs
- XamlFrame.cs
- CodeCompiler.cs
- TimelineGroup.cs
- AggregateNode.cs
- StringDictionary.cs
- RestHandler.cs
- FlowLayoutSettings.cs
- MethodCallTranslator.cs
- ApplicationDirectory.cs
- ToolboxComponentsCreatedEventArgs.cs
- HtmlInputPassword.cs
- QueryStringParameter.cs
- DataGridItemAttachedStorage.cs
- DoubleIndependentAnimationStorage.cs
- sqlinternaltransaction.cs
- HopperCache.cs
- AlphabeticalEnumConverter.cs
- ViewStateAttachedPropertyFeature.cs
- MailWriter.cs
- XmlSerializationGeneratedCode.cs
- WebPartEditorOkVerb.cs
- ScrollBarRenderer.cs
- ColorPalette.cs
- StylusEventArgs.cs
- DataGridRowAutomationPeer.cs
- MessageDecoder.cs
- GlyphManager.cs
- ResourceReader.cs
- XmlDocumentType.cs
- DbDeleteCommandTree.cs
- RepeaterCommandEventArgs.cs
- BinaryUtilClasses.cs
- FormViewUpdatedEventArgs.cs
- CorePropertiesFilter.cs
- DataList.cs
- SqlNotificationEventArgs.cs
- Timeline.cs
- BaseCAMarshaler.cs
- DrawingImage.cs
- RegionData.cs
- BindingContext.cs
- BuildDependencySet.cs
- URLString.cs
- SkipStoryboardToFill.cs
- PieceNameHelper.cs
- ResourceReader.cs
- _TransmitFileOverlappedAsyncResult.cs
- EventSetterHandlerConverter.cs
- Int64Converter.cs
- TemplateAction.cs
- ApplicationDirectoryMembershipCondition.cs
- GACMembershipCondition.cs