Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / DrawingContextWalker.cs / 1305600 / DrawingContextWalker.cs
//---------------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // // Description: Contains base class for DrawingContext iterators // // History: // // 2004/04/02 : [....] - 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 : [....] - 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
- GlobalizationAssembly.cs
- ProxyHwnd.cs
- DocumentXPathNavigator.cs
- EmbossBitmapEffect.cs
- Int16Animation.cs
- ObjectViewFactory.cs
- BindingMemberInfo.cs
- HtmlContainerControl.cs
- XPathMessageFilterElementCollection.cs
- WebPartChrome.cs
- UpdatePanel.cs
- KerberosSecurityTokenProvider.cs
- DoubleUtil.cs
- FullTextLine.cs
- XamlSerializerUtil.cs
- ToolStripDropDownItem.cs
- OracleBoolean.cs
- FamilyMap.cs
- FocusManager.cs
- SoapObjectReader.cs
- Automation.cs
- DbBuffer.cs
- DataGridViewAccessibleObject.cs
- ApplicationManager.cs
- StateRuntime.cs
- Missing.cs
- CollectionConverter.cs
- TextSerializer.cs
- SqlDataSourceSelectingEventArgs.cs
- ToolStripContentPanelDesigner.cs
- SkewTransform.cs
- SessionConnectionReader.cs
- Resources.Designer.cs
- RestClientProxyHandler.cs
- XmlDocumentSerializer.cs
- CellIdBoolean.cs
- XamlGridLengthSerializer.cs
- CompiledELinqQueryState.cs
- BamlBinaryReader.cs
- TypeCodeDomSerializer.cs
- BeginEvent.cs
- DifferencingCollection.cs
- BitmapEffectInputData.cs
- KeyboardDevice.cs
- CombinedGeometry.cs
- GatewayDefinition.cs
- URI.cs
- TableLayoutColumnStyleCollection.cs
- Marshal.cs
- ResourcesBuildProvider.cs
- TableHeaderCell.cs
- ItemContainerProviderWrapper.cs
- NamespaceImport.cs
- XPathScanner.cs
- OdbcConnectionFactory.cs
- TraceContext.cs
- X509PeerCertificateAuthentication.cs
- httpapplicationstate.cs
- Regex.cs
- ResourceDescriptionAttribute.cs
- SimpleApplicationHost.cs
- LoginUtil.cs
- SecurityChannel.cs
- RequestResizeEvent.cs
- RecipientInfo.cs
- CdpEqualityComparer.cs
- SubclassTypeValidatorAttribute.cs
- IxmlLineInfo.cs
- URLString.cs
- MetadataUtilsSmi.cs
- RegexReplacement.cs
- FixedSOMTextRun.cs
- XpsFixedDocumentSequenceReaderWriter.cs
- WebSysDescriptionAttribute.cs
- CodePropertyReferenceExpression.cs
- SizeLimitedCache.cs
- GregorianCalendarHelper.cs
- EventLogReader.cs
- Dynamic.cs
- TextTrailingWordEllipsis.cs
- TickBar.cs
- COAUTHINFO.cs
- Bits.cs
- ReflectionUtil.cs
- StrongNameSignatureInformation.cs
- TrustLevel.cs
- MarkupExtensionParser.cs
- SafeNativeMemoryHandle.cs
- BamlBinaryReader.cs
- EventDescriptorCollection.cs
- Win32.cs
- TaiwanCalendar.cs
- EnlistmentTraceIdentifier.cs
- Matrix3DConverter.cs
- PropertyMapper.cs
- EmptyEnumerable.cs
- GridViewEditEventArgs.cs
- WebSysDisplayNameAttribute.cs
- SingleKeyFrameCollection.cs
- GeneralTransform3D.cs