Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / Design / Serialization / ResolveNameEventArgs.cs / 1305376 / 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
- unsafenativemethodsother.cs
- FirstMatchCodeGroup.cs
- DetailsViewActionList.cs
- Rotation3DAnimation.cs
- RuntimeConfigLKG.cs
- WebPartConnectionsEventArgs.cs
- CallbackValidatorAttribute.cs
- DesignerTransaction.cs
- WindowsListViewItemStartMenu.cs
- EventSinkHelperWriter.cs
- GlobalizationAssembly.cs
- ToolStripRenderer.cs
- DataSourceCache.cs
- Slider.cs
- DocumentOrderQuery.cs
- CustomTypeDescriptor.cs
- FormsIdentity.cs
- TimersDescriptionAttribute.cs
- PtsCache.cs
- BindingCompleteEventArgs.cs
- SQLGuidStorage.cs
- HandlerBase.cs
- ApplyTemplatesAction.cs
- _LocalDataStore.cs
- TypeBuilder.cs
- MsdtcWrapper.cs
- CodeNamespaceCollection.cs
- CursorConverter.cs
- TextServicesPropertyRanges.cs
- PointConverter.cs
- StatusBar.cs
- GroupBox.cs
- Atom10FormatterFactory.cs
- IERequestCache.cs
- ArrayList.cs
- PrimitiveXmlSerializers.cs
- DataGridSortCommandEventArgs.cs
- EdmEntityTypeAttribute.cs
- FunctionMappingTranslator.cs
- DataGridCommandEventArgs.cs
- DirectoryObjectSecurity.cs
- HyperlinkAutomationPeer.cs
- RTLAwareMessageBox.cs
- SystemIPInterfaceStatistics.cs
- HttpResponseWrapper.cs
- connectionpool.cs
- EntityTypeEmitter.cs
- ListViewUpdateEventArgs.cs
- MetadataSource.cs
- WebEventTraceProvider.cs
- WinFormsUtils.cs
- GenericEnumerator.cs
- AttachInfo.cs
- TrackingStringDictionary.cs
- login.cs
- SqlDataSourceQueryConverter.cs
- BaseDataList.cs
- RegexRunnerFactory.cs
- ByeMessageCD1.cs
- TypedTableGenerator.cs
- CodeIdentifiers.cs
- Geometry.cs
- PolicyStatement.cs
- validationstate.cs
- DesignConnectionCollection.cs
- Context.cs
- Highlights.cs
- Walker.cs
- EntityCommandDefinition.cs
- DbXmlEnabledProviderManifest.cs
- WebHttpBindingElement.cs
- Rectangle.cs
- ActiveXHelper.cs
- InternalControlCollection.cs
- MessageAction.cs
- ViewStateAttachedPropertyFeature.cs
- RoutedEventArgs.cs
- SqlDataSourceFilteringEventArgs.cs
- TriggerActionCollection.cs
- Substitution.cs
- ScriptRegistrationManager.cs
- EntityObject.cs
- DataServiceException.cs
- ModuleBuilderData.cs
- UrlMapping.cs
- SrgsElementFactoryCompiler.cs
- PlatformNotSupportedException.cs
- X509Chain.cs
- ConfigXmlAttribute.cs
- PagePropertiesChangingEventArgs.cs
- NotificationContext.cs
- SupportingTokenProviderSpecification.cs
- GACMembershipCondition.cs
- DSACryptoServiceProvider.cs
- SecurityRuntime.cs
- ModuleBuilderData.cs
- NotificationContext.cs
- FormattedTextSymbols.cs
- SessionSwitchEventArgs.cs
- Win32MouseDevice.cs