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
- ELinqQueryState.cs
- SocketInformation.cs
- FrameworkPropertyMetadata.cs
- SchemaEntity.cs
- SpeakProgressEventArgs.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- XamlStream.cs
- BrushValueSerializer.cs
- EntityExpressionVisitor.cs
- SemanticAnalyzer.cs
- SemanticValue.cs
- ClientOptions.cs
- CrossAppDomainChannel.cs
- WebPartConnectionsConnectVerb.cs
- ObjectDataSourceSelectingEventArgs.cs
- _Rfc2616CacheValidators.cs
- EndPoint.cs
- ModifierKeysValueSerializer.cs
- EdmItemError.cs
- UpDownBase.cs
- DescriptionAttribute.cs
- xml.cs
- Flowchart.cs
- TextEditorMouse.cs
- InstanceLockTracking.cs
- GridEntryCollection.cs
- EventLogPermissionAttribute.cs
- invalidudtexception.cs
- WebPartHelpVerb.cs
- ChameleonKey.cs
- ComponentDispatcher.cs
- DefaultBinder.cs
- AnnouncementClient.cs
- Intellisense.cs
- ActivityTypeCodeDomSerializer.cs
- StackSpiller.Temps.cs
- TypeLoader.cs
- MetadataException.cs
- ClockController.cs
- XmlBinaryReader.cs
- HtmlSelect.cs
- FlowDocumentPage.cs
- DataGridViewHitTestInfo.cs
- WebPartCatalogAddVerb.cs
- XmlMembersMapping.cs
- UserControlParser.cs
- OptimalTextSource.cs
- RegexCharClass.cs
- PrintPreviewControl.cs
- OleDbErrorCollection.cs
- MsdtcClusterUtils.cs
- FilteredDataSetHelper.cs
- ByteAnimationUsingKeyFrames.cs
- KeyboardNavigation.cs
- QilNode.cs
- RenderContext.cs
- DbConnectionClosed.cs
- ArrayElementGridEntry.cs
- BaseHashHelper.cs
- SafeEventLogReadHandle.cs
- PhonemeEventArgs.cs
- _ChunkParse.cs
- HtmlInputButton.cs
- FrameworkReadOnlyPropertyMetadata.cs
- FontResourceCache.cs
- EmptyStringExpandableObjectConverter.cs
- TextElementEditingBehaviorAttribute.cs
- GridViewRowCollection.cs
- Accessors.cs
- CorePropertiesFilter.cs
- SerializationEventsCache.cs
- SmiXetterAccessMap.cs
- BufferBuilder.cs
- URI.cs
- ReferenceService.cs
- SqlConnectionManager.cs
- DiagnosticTraceRecords.cs
- InstanceLockTracking.cs
- TemplateControlParser.cs
- RtType.cs
- Atom10FormatterFactory.cs
- IgnoreSection.cs
- SafeRightsManagementSessionHandle.cs
- HelpKeywordAttribute.cs
- ScrollPatternIdentifiers.cs
- ContainerParagraph.cs
- HandledEventArgs.cs
- EmptyStringExpandableObjectConverter.cs
- listitem.cs
- SpeakCompletedEventArgs.cs
- ThicknessAnimation.cs
- EntryIndex.cs
- AsnEncodedData.cs
- MatrixAnimationUsingKeyFrames.cs
- ControlType.cs
- NegotiationTokenProvider.cs
- ISFTagAndGuidCache.cs
- TypeUsageBuilder.cs
- DrawingGroup.cs
- RotateTransform3D.cs