Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / System / Windows / SetterBase.cs / 1 / SetterBase.cs
/****************************************************************************\ * * File: SetterBase.cs * * TargetType property and event setting base class. * * Copyright (C) 2004 by Microsoft Corporation. All rights reserved. * \***************************************************************************/ namespace System.Windows { ////// TargetType property and event setting base class. /// [Localizability(LocalizationCategory.Ignore)] public abstract class SetterBase { ////// SetterBase construction /// internal SetterBase() { } ////// Returns the sealed state of this object. If true, any attempt /// at modifying the state of this object will trigger an exception. /// public bool IsSealed { get { return _sealed; } } internal virtual void Seal() { _sealed = true; } ////// Subclasses need to call this method before any changes to their state. /// protected void CheckSealed() { if ( _sealed ) { throw new InvalidOperationException(SR.Get(SRID.CannotChangeAfterSealed, "SetterBase")); } } // Derived private bool _sealed; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Solver.cs
- ClientScriptManagerWrapper.cs
- XmlTextReaderImplHelpers.cs
- WebZone.cs
- Publisher.cs
- SystemColors.cs
- TriggerCollection.cs
- SoapEnumAttribute.cs
- WebPartMinimizeVerb.cs
- PresentationTraceSources.cs
- ToolStripDesignerAvailabilityAttribute.cs
- HandleRef.cs
- LocalizabilityAttribute.cs
- DBParameter.cs
- ByteArrayHelperWithString.cs
- SymbolDocumentInfo.cs
- MeshGeometry3D.cs
- CompositeFontFamily.cs
- IndentedTextWriter.cs
- LocationReferenceValue.cs
- BackoffTimeoutHelper.cs
- AutoCompleteStringCollection.cs
- HostProtectionPermission.cs
- LOSFormatter.cs
- XmlSerializerFormatAttribute.cs
- HttpListenerPrefixCollection.cs
- Oid.cs
- DataBoundControlHelper.cs
- CodeStatementCollection.cs
- DataKeyCollection.cs
- CollectionViewGroup.cs
- COM2ExtendedBrowsingHandler.cs
- ImageAttributes.cs
- securitymgrsite.cs
- ConnectionOrientedTransportElement.cs
- SimpleWebHandlerParser.cs
- Boolean.cs
- LogSwitch.cs
- cookie.cs
- ToolBarTray.cs
- IndependentAnimationStorage.cs
- XmlAttributeOverrides.cs
- SizeKeyFrameCollection.cs
- UpdatePanelControlTrigger.cs
- DatagridviewDisplayedBandsData.cs
- SerializationStore.cs
- DependencyObjectPropertyDescriptor.cs
- SqlClientPermission.cs
- IssuanceLicense.cs
- CharConverter.cs
- GridErrorDlg.cs
- PtsContext.cs
- Html32TextWriter.cs
- QueryOperationResponseOfT.cs
- HttpBrowserCapabilitiesWrapper.cs
- AssertFilter.cs
- DBCommand.cs
- TextDecoration.cs
- CryptoApi.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- ClientCultureInfo.cs
- CodeSnippetTypeMember.cs
- WorkflowInspectionServices.cs
- ComponentEditorForm.cs
- recordstate.cs
- ClaimTypes.cs
- Function.cs
- BitmapEffectState.cs
- _LocalDataStore.cs
- NullReferenceException.cs
- ImpersonationOption.cs
- QuestionEventArgs.cs
- NeutralResourcesLanguageAttribute.cs
- securitymgrsite.cs
- SemanticBasicElement.cs
- DataSetMappper.cs
- TransformProviderWrapper.cs
- MembershipSection.cs
- ControlBindingsCollection.cs
- odbcmetadatafactory.cs
- XmlEntity.cs
- RowsCopiedEventArgs.cs
- Formatter.cs
- RecipientInfo.cs
- FileDialog.cs
- MachineKeyConverter.cs
- InkPresenterAutomationPeer.cs
- HighContrastHelper.cs
- Substitution.cs
- EventProxy.cs
- SortedSetDebugView.cs
- CodeAttributeDeclaration.cs
- TimeoutValidationAttribute.cs
- SortQuery.cs
- PathSegment.cs
- XmlParserContext.cs
- MDIClient.cs
- ListControlConvertEventArgs.cs
- PersistenceException.cs
- DefaultParameterValueAttribute.cs