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
- UserUseLicenseDictionaryLoader.cs
- RegexWorker.cs
- CmsInterop.cs
- CheckBox.cs
- ScrollProviderWrapper.cs
- GroupBox.cs
- Rect3DValueSerializer.cs
- MetadataCache.cs
- VariableAction.cs
- OdbcEnvironmentHandle.cs
- ToolStripComboBox.cs
- DirectoryRootQuery.cs
- DecoderFallbackWithFailureFlag.cs
- BitmapMetadataEnumerator.cs
- NullableBoolConverter.cs
- ProfilePropertyNameValidator.cs
- Site.cs
- SiteMapDataSource.cs
- BindingCollection.cs
- SyntaxCheck.cs
- DataGridClipboardCellContent.cs
- Int32EqualityComparer.cs
- Task.cs
- ViewStateChangedEventArgs.cs
- DrawingBrush.cs
- DynamicValueConverter.cs
- XmlTextEncoder.cs
- CoreSwitches.cs
- OSFeature.cs
- control.ime.cs
- CircleHotSpot.cs
- FontFamily.cs
- ListComponentEditor.cs
- InternalDispatchObject.cs
- WebHttpDispatchOperationSelector.cs
- WorkflowOwnershipException.cs
- ConstructorExpr.cs
- Aes.cs
- KoreanLunisolarCalendar.cs
- HttpHandler.cs
- GroupDescription.cs
- ProcessModule.cs
- ReflectionUtil.cs
- FixedPage.cs
- TdsParserStaticMethods.cs
- TemplateAction.cs
- XmlAttributeCache.cs
- EntityCommandDefinition.cs
- PresentationUIStyleResources.cs
- PlaceHolder.cs
- BindableTemplateBuilder.cs
- DataGridViewColumnEventArgs.cs
- RepeaterItemEventArgs.cs
- FixedElement.cs
- ProtocolProfile.cs
- RequestCachePolicyConverter.cs
- MLangCodePageEncoding.cs
- SecurityManager.cs
- SystemWebSectionGroup.cs
- AvTrace.cs
- FormViewDeleteEventArgs.cs
- PowerModeChangedEventArgs.cs
- Decimal.cs
- ListViewItemSelectionChangedEvent.cs
- NativeMethods.cs
- CharAnimationBase.cs
- MulticastDelegate.cs
- DnsCache.cs
- InvokeHandlers.cs
- EngineSiteSapi.cs
- EventProviderWriter.cs
- ObjectPropertyMapping.cs
- UniqueIdentifierService.cs
- Int64AnimationUsingKeyFrames.cs
- LeafCellTreeNode.cs
- CrossAppDomainChannel.cs
- storepermission.cs
- securitycriticaldata.cs
- SoapAttributes.cs
- XsdValidatingReader.cs
- MetabaseSettingsIis7.cs
- ConstraintStruct.cs
- Accessible.cs
- BufferModesCollection.cs
- IsolatedStorageException.cs
- SequenceNumber.cs
- StickyNoteHelper.cs
- EtwTrace.cs
- WmpBitmapEncoder.cs
- DaylightTime.cs
- AnimationStorage.cs
- ArrayTypeMismatchException.cs
- PassportAuthenticationModule.cs
- MSG.cs
- TextPatternIdentifiers.cs
- RIPEMD160Managed.cs
- OLEDB_Enum.cs
- Model3DGroup.cs
- BaseServiceProvider.cs
- basemetadatamappingvisitor.cs