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
- RestClientProxyHandler.cs
- NameSpaceExtractor.cs
- EventData.cs
- CancelEventArgs.cs
- unitconverter.cs
- SoapSchemaExporter.cs
- LicenseContext.cs
- BitSet.cs
- OptimalBreakSession.cs
- InvokeCompletedEventArgs.cs
- XmlParserContext.cs
- UnsafeNetInfoNativeMethods.cs
- EmptyStringExpandableObjectConverter.cs
- OleDbMetaDataFactory.cs
- SwitchAttribute.cs
- ItemAutomationPeer.cs
- CodeAttachEventStatement.cs
- SafeRegistryHandle.cs
- Delay.cs
- ConfigurationLockCollection.cs
- NotFiniteNumberException.cs
- DataServiceStreamResponse.cs
- Visual.cs
- XmlNamespaceManager.cs
- IPEndPoint.cs
- IntranetCredentialPolicy.cs
- XmlSchemaProviderAttribute.cs
- QuotedPrintableStream.cs
- ComponentRenameEvent.cs
- KnownTypesProvider.cs
- EventManager.cs
- _NativeSSPI.cs
- SHA1CryptoServiceProvider.cs
- LocalValueEnumerator.cs
- ListViewHitTestInfo.cs
- XpsSerializationException.cs
- StructuralType.cs
- InvalidFilterCriteriaException.cs
- StringAnimationUsingKeyFrames.cs
- ContainerUIElement3D.cs
- GenerateTemporaryTargetAssembly.cs
- Decoder.cs
- TimerEventSubscriptionCollection.cs
- ValidatingPropertiesEventArgs.cs
- Scene3D.cs
- ProcessHostServerConfig.cs
- DataGridViewAutoSizeModeEventArgs.cs
- DirectoryGroupQuery.cs
- RuleRef.cs
- ToolStripRenderEventArgs.cs
- NavigatorInput.cs
- DependencyPropertyChangedEventArgs.cs
- SqlExpressionNullability.cs
- StringWriter.cs
- contentDescriptor.cs
- UserInitiatedNavigationPermission.cs
- RandomDelayQueuedSendsAsyncResult.cs
- WhiteSpaceTrimStringConverter.cs
- OrderByExpression.cs
- LogEntry.cs
- FrameworkReadOnlyPropertyMetadata.cs
- FloaterParaClient.cs
- ModelTypeConverter.cs
- MsmqHostedTransportConfiguration.cs
- NavigationPropertyAccessor.cs
- PrintPreviewControl.cs
- WinOEToolBoxItem.cs
- QuaternionKeyFrameCollection.cs
- MimePart.cs
- ActivityExecutionWorkItem.cs
- Style.cs
- Globals.cs
- Util.cs
- MethodBody.cs
- RenderCapability.cs
- ExceptionNotification.cs
- PropertyConverter.cs
- TextBoxDesigner.cs
- SystemColorTracker.cs
- CopyOnWriteList.cs
- BaseValidator.cs
- SimpleType.cs
- DetailsViewRowCollection.cs
- KnownTypeAttribute.cs
- MeasureData.cs
- DbMetaDataCollectionNames.cs
- StrokeCollection2.cs
- XmlTextWriter.cs
- EncryptedType.cs
- CultureData.cs
- EpmAttributeNameBuilder.cs
- FormViewDeleteEventArgs.cs
- Signature.cs
- ValueOfAction.cs
- HwndSourceKeyboardInputSite.cs
- ProcessHostMapPath.cs
- EllipseGeometry.cs
- Frame.cs
- PagesSection.cs
- TextTrailingWordEllipsis.cs