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
- COM2PropertyBuilderUITypeEditor.cs
- MsmqException.cs
- TextMarkerSource.cs
- RichTextBoxConstants.cs
- Vector3DCollectionConverter.cs
- WebRequestModulesSection.cs
- TemplateBindingExtension.cs
- AddInToken.cs
- SByteStorage.cs
- Int32Collection.cs
- AndMessageFilterTable.cs
- DataControlButton.cs
- DataGridViewHitTestInfo.cs
- DropDownList.cs
- _StreamFramer.cs
- DateTimeParse.cs
- XsdDuration.cs
- TraceSwitch.cs
- SafeNativeMethodsCLR.cs
- XmlSiteMapProvider.cs
- FontStretch.cs
- DesignerUtils.cs
- XmlNamespaceMappingCollection.cs
- InstanceDataCollection.cs
- OlePropertyStructs.cs
- HttpCookieCollection.cs
- BigInt.cs
- XmlMapping.cs
- UnsafeNativeMethods.cs
- QilInvoke.cs
- SystemIcmpV6Statistics.cs
- QilScopedVisitor.cs
- WorkflowMessageEventHandler.cs
- EntityContainerEntitySet.cs
- DbParameterCollection.cs
- XmlSignatureManifest.cs
- ChtmlTextWriter.cs
- InputScopeConverter.cs
- milexports.cs
- TableDetailsRow.cs
- DataGridViewRowsRemovedEventArgs.cs
- IndentedWriter.cs
- WSFederationHttpBindingElement.cs
- InternalReceiveMessage.cs
- FocusManager.cs
- HuffmanTree.cs
- XPathNavigator.cs
- XamlTemplateSerializer.cs
- ReadOnlyPermissionSet.cs
- SupportingTokenAuthenticatorSpecification.cs
- RequestCachingSection.cs
- TextServicesCompartmentEventSink.cs
- AppDomainAttributes.cs
- PrintDialog.cs
- SspiWrapper.cs
- AdCreatedEventArgs.cs
- ListSourceHelper.cs
- RegularExpressionValidator.cs
- IFlowDocumentViewer.cs
- DbProviderSpecificTypePropertyAttribute.cs
- ReadOnlyPropertyMetadata.cs
- FormsAuthenticationUserCollection.cs
- SmtpReplyReaderFactory.cs
- ClientSponsor.cs
- TextViewSelectionProcessor.cs
- SecurityKeyIdentifierClause.cs
- SessionSwitchEventArgs.cs
- ItemType.cs
- DefaultAsyncDataDispatcher.cs
- FixedStringLookup.cs
- XmlConvert.cs
- TableAdapterManagerGenerator.cs
- ExcludePathInfo.cs
- UrlAuthFailedErrorFormatter.cs
- WebServiceFault.cs
- TextRunProperties.cs
- PrinterResolution.cs
- XmlComplianceUtil.cs
- TabItem.cs
- Rotation3DAnimation.cs
- DecimalAnimation.cs
- LongValidator.cs
- CodeComment.cs
- Style.cs
- BuildManagerHost.cs
- ObjectReaderCompiler.cs
- ContainerControl.cs
- MetadataSource.cs
- LoginView.cs
- DetailsView.cs
- CriticalHandle.cs
- DefaultValueAttribute.cs
- RequestCachePolicyConverter.cs
- ForeignConstraint.cs
- ColumnMapVisitor.cs
- AspNetSynchronizationContext.cs
- ChangeProcessor.cs
- SingleAnimationBase.cs
- ObjectIDGenerator.cs
- DragCompletedEventArgs.cs