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
- HttpClientProtocol.cs
- FileVersionInfo.cs
- DirectoryRootQuery.cs
- DispatcherSynchronizationContext.cs
- SerializationInfo.cs
- SettingsPropertyIsReadOnlyException.cs
- PluralizationService.cs
- CustomAssemblyResolver.cs
- ScriptMethodAttribute.cs
- ToolStripPanelRow.cs
- ListView.cs
- MsiStyleLogWriter.cs
- FunctionUpdateCommand.cs
- FormsAuthenticationUserCollection.cs
- FrameSecurityDescriptor.cs
- LinqDataSourceView.cs
- AnimationClock.cs
- SearchForVirtualItemEventArgs.cs
- XmlSecureResolver.cs
- SmiEventSink.cs
- DataGridColumnFloatingHeader.cs
- ChannelFactory.cs
- Label.cs
- MSAANativeProvider.cs
- ExtendedPropertyCollection.cs
- UDPClient.cs
- TreeNodeConverter.cs
- MsmqIntegrationBindingElement.cs
- TrackingProfileSerializer.cs
- PassportPrincipal.cs
- BitmapSizeOptions.cs
- AdornerLayer.cs
- _OverlappedAsyncResult.cs
- TextTreeUndo.cs
- RegexStringValidatorAttribute.cs
- FlowLayoutSettings.cs
- XmlReaderSettings.cs
- RunClient.cs
- DesignUtil.cs
- CompModSwitches.cs
- AnnotationResource.cs
- StrongNameIdentityPermission.cs
- TextEvent.cs
- SourceFilter.cs
- Assembly.cs
- DesignSurface.cs
- ClientSponsor.cs
- NavigationHelper.cs
- IncrementalHitTester.cs
- SessionStateUtil.cs
- ExpressionVisitor.cs
- RenderContext.cs
- DrawTreeNodeEventArgs.cs
- Simplifier.cs
- MouseGestureConverter.cs
- XhtmlBasicControlAdapter.cs
- DataTableMappingCollection.cs
- UserControl.cs
- BmpBitmapDecoder.cs
- RIPEMD160.cs
- ResourceAssociationTypeEnd.cs
- IntSecurity.cs
- CodeSubDirectory.cs
- SafeThreadHandle.cs
- DataGridColumnEventArgs.cs
- AutoScrollExpandMessageFilter.cs
- Module.cs
- SmiConnection.cs
- WebBrowsableAttribute.cs
- IPAddressCollection.cs
- StrokeCollectionDefaultValueFactory.cs
- ClickablePoint.cs
- RadioButtonAutomationPeer.cs
- AssemblyGen.cs
- SafeRightsManagementHandle.cs
- ImageIndexConverter.cs
- Header.cs
- MemberRelationshipService.cs
- OracleBFile.cs
- TargetControlTypeAttribute.cs
- DataTableNewRowEvent.cs
- CompilerResults.cs
- XmlMapping.cs
- DataErrorValidationRule.cs
- PropertyItem.cs
- StringFreezingAttribute.cs
- ExpressionReplacer.cs
- TextDocumentView.cs
- IisTraceListener.cs
- HttpListenerRequest.cs
- MulticastNotSupportedException.cs
- GroupStyle.cs
- XNodeValidator.cs
- Random.cs
- Shape.cs
- PropertyOverridesTypeEditor.cs
- ClientFormsAuthenticationCredentials.cs
- MetafileHeaderWmf.cs
- elementinformation.cs
- PerformanceCounterPermissionEntryCollection.cs