Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ApplicationTrust.cs
- ButtonBaseAdapter.cs
- DependencyPropertyDescriptor.cs
- OrthographicCamera.cs
- BufferAllocator.cs
- RegionData.cs
- Package.cs
- ParameterReplacerVisitor.cs
- QilFactory.cs
- EncoderBestFitFallback.cs
- XmlILTrace.cs
- MetadataSource.cs
- ImageSourceConverter.cs
- PeerName.cs
- TitleStyle.cs
- DocumentGridPage.cs
- LoginUtil.cs
- GridLength.cs
- GlobalDataBindingHandler.cs
- TreeViewDesigner.cs
- PictureBox.cs
- WindowsGraphicsWrapper.cs
- XsdSchemaFileEditor.cs
- FixedNode.cs
- ThreadSafeList.cs
- ConfigXmlText.cs
- PrimitiveXmlSerializers.cs
- SmtpMail.cs
- BufferAllocator.cs
- RuleSettingsCollection.cs
- LoadMessageLogger.cs
- _HelperAsyncResults.cs
- TdsParserSessionPool.cs
- RuntimeTrackingProfile.cs
- ThicknessAnimationBase.cs
- CodeMethodInvokeExpression.cs
- _LazyAsyncResult.cs
- WindowsAuthenticationEventArgs.cs
- Lasso.cs
- DynamicObjectAccessor.cs
- PropertyMappingExceptionEventArgs.cs
- PackagingUtilities.cs
- StatusBar.cs
- HandleExceptionArgs.cs
- HostingEnvironmentSection.cs
- WorkflowServiceInstance.cs
- CacheRequest.cs
- WmfPlaceableFileHeader.cs
- Source.cs
- TextDecoration.cs
- AttributeExtensions.cs
- WebPartVerb.cs
- DesignerActionKeyboardBehavior.cs
- StorageEntityContainerMapping.cs
- Configuration.cs
- CachedCompositeFamily.cs
- ThemeDictionaryExtension.cs
- ItemCheckEvent.cs
- GridViewDeletedEventArgs.cs
- DashStyle.cs
- StorageScalarPropertyMapping.cs
- DocumentSignatureManager.cs
- MsmqTransportSecurity.cs
- PersonalizationStateQuery.cs
- Int32CAMarshaler.cs
- GridViewColumnHeader.cs
- ReaderOutput.cs
- OdbcConnection.cs
- TextRangeEditTables.cs
- WorkflowServiceBehavior.cs
- ResourceAttributes.cs
- IsolatedStorageException.cs
- UndirectedGraph.cs
- StatusBar.cs
- XmlNamespaceDeclarationsAttribute.cs
- BinHexEncoding.cs
- FormatVersion.cs
- CompositionTarget.cs
- OdbcInfoMessageEvent.cs
- StorageTypeMapping.cs
- ThreadStartException.cs
- CountdownEvent.cs
- SerialErrors.cs
- CustomAttribute.cs
- DataGridViewCellConverter.cs
- EntityWrapperFactory.cs
- SerializerDescriptor.cs
- WebBrowserBase.cs
- XmlElementAttribute.cs
- GenericsInstances.cs
- WebPartDescription.cs
- ObjectDataSource.cs
- InputProcessorProfilesLoader.cs
- CompositeControl.cs
- FixedNode.cs
- XmlDataCollection.cs
- Animatable.cs
- MemoryStream.cs
- DynamicPropertyReader.cs
- OleDbWrapper.cs