Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CompMod / System / ComponentModel / Design / Serialization / ResolveNameEventArgs.cs / 1 / ResolveNameEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel.Design.Serialization { using System; using System.Security.Permissions; ////// EventArgs for the ResolveNameEventHandler. This event is used /// by the serialization process to match a name to an object /// instance. /// [HostProtection(SharedState = true)] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name = "FullTrust")] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] public class ResolveNameEventArgs : EventArgs { private string name; private object value; ////// Creates a new resolve name event args object. /// public ResolveNameEventArgs(string name) { this.name = name; this.value = null; } ////// The name of the object that needs to be resolved. /// public string Name { get { return name; } } ////// The object that matches the name. /// public object Value { get { return value; } set { this.value = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel.Design.Serialization { using System; using System.Security.Permissions; ////// EventArgs for the ResolveNameEventHandler. This event is used /// by the serialization process to match a name to an object /// instance. /// [HostProtection(SharedState = true)] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name = "FullTrust")] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] public class ResolveNameEventArgs : EventArgs { private string name; private object value; ////// Creates a new resolve name event args object. /// public ResolveNameEventArgs(string name) { this.name = name; this.value = null; } ////// The name of the object that needs to be resolved. /// public string Name { get { return name; } } ////// The object that matches the name. /// public object Value { get { return value; } set { this.value = value; } } } } // 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
- SemanticResultValue.cs
- DataStorage.cs
- CqlLexerHelpers.cs
- RequestCachingSection.cs
- StatusBarDrawItemEvent.cs
- ToolStripContentPanelRenderEventArgs.cs
- WebUtil.cs
- Classification.cs
- WindowsFormsSynchronizationContext.cs
- AttributeQuery.cs
- DataViewSettingCollection.cs
- FixedDocument.cs
- Substitution.cs
- ListControl.cs
- ExpandableObjectConverter.cs
- ItemTypeToolStripMenuItem.cs
- GlyphCollection.cs
- ContextMenuAutomationPeer.cs
- DataGridCaption.cs
- CodeIdentifier.cs
- XmlRawWriterWrapper.cs
- PropertiesTab.cs
- SqlNamer.cs
- CriticalExceptions.cs
- HwndSourceParameters.cs
- _CookieModule.cs
- OdbcPermission.cs
- XsltSettings.cs
- TextReader.cs
- WebOperationContext.cs
- StaticSiteMapProvider.cs
- TextRangeBase.cs
- ControlPaint.cs
- MembershipSection.cs
- MessageQueueCriteria.cs
- DynamicMetaObject.cs
- SectionUpdates.cs
- PersonalizableTypeEntry.cs
- TypedRowHandler.cs
- TextEndOfSegment.cs
- InvokePatternIdentifiers.cs
- ConfigurationManager.cs
- ClientOptions.cs
- FilterEventArgs.cs
- DocumentSchemaValidator.cs
- ReaderOutput.cs
- WebPart.cs
- AutomationPeer.cs
- XamlFigureLengthSerializer.cs
- PersonalizationProvider.cs
- DocumentReferenceCollection.cs
- SinglePageViewer.cs
- MessageDesigner.cs
- WebEvents.cs
- SqlVisitor.cs
- ImmComposition.cs
- LongValidatorAttribute.cs
- TaskbarItemInfo.cs
- SoapFault.cs
- CorrelationActionMessageFilter.cs
- PeerNameRegistration.cs
- DeclarativeCatalogPartDesigner.cs
- cookie.cs
- UInt32Converter.cs
- WebPartConnectionsDisconnectVerb.cs
- DrawingAttributesDefaultValueFactory.cs
- ClientTargetSection.cs
- SystemEvents.cs
- RegexWorker.cs
- PopOutPanel.cs
- Util.cs
- ContractUtils.cs
- SmiContext.cs
- WindowsGrip.cs
- SetState.cs
- EntityFunctions.cs
- NullRuntimeConfig.cs
- CryptoHelper.cs
- DataReaderContainer.cs
- TabPanel.cs
- InstanceDataCollection.cs
- OrderedDictionaryStateHelper.cs
- TreeNodeStyle.cs
- TypeSystemHelpers.cs
- Common.cs
- SqlEnums.cs
- EventLogSession.cs
- WmlFormAdapter.cs
- DatatypeImplementation.cs
- PropertyRecord.cs
- HttpUnhandledOperationInvoker.cs
- HandlerFactoryWrapper.cs
- DBCSCodePageEncoding.cs
- WindowsComboBox.cs
- HandlerBase.cs
- ThemeDirectoryCompiler.cs
- ClientScriptManager.cs
- GroupItemAutomationPeer.cs
- ClientScriptManager.cs
- PostBackTrigger.cs