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
- DTCTransactionManager.cs
- CodeTypeDeclarationCollection.cs
- Comparer.cs
- QueryableDataSourceHelper.cs
- TypeReference.cs
- ArrayConverter.cs
- TextEffectCollection.cs
- CurrencyWrapper.cs
- AuthenticationException.cs
- ServiceDescriptions.cs
- ButtonBase.cs
- WinCategoryAttribute.cs
- QueryExtender.cs
- CancelEventArgs.cs
- RoutedEvent.cs
- ResourceProperty.cs
- XamlTypeMapper.cs
- OleDbSchemaGuid.cs
- XmlException.cs
- XMLSyntaxException.cs
- HttpHeaderCollection.cs
- AssociationTypeEmitter.cs
- TextUtf8RawTextWriter.cs
- KeyGestureValueSerializer.cs
- ExceptionCollection.cs
- XPathQueryGenerator.cs
- TextAdaptor.cs
- ThreadAttributes.cs
- HandlerBase.cs
- CompilerInfo.cs
- StatusBarDesigner.cs
- Touch.cs
- SqlCacheDependency.cs
- FullTrustAssembliesSection.cs
- RichTextBox.cs
- SqlDataSourceFilteringEventArgs.cs
- SolidColorBrush.cs
- FontUnitConverter.cs
- XmlBinaryReader.cs
- MediaElementAutomationPeer.cs
- CqlGenerator.cs
- EntityDesignerDataSourceView.cs
- SystemIcons.cs
- DictationGrammar.cs
- XmlSchemaRedefine.cs
- SrgsElement.cs
- ItemsControlAutomationPeer.cs
- TypeLibraryHelper.cs
- XmlObjectSerializerReadContextComplex.cs
- CodeMemberField.cs
- MessageSmuggler.cs
- ViewGenResults.cs
- DataPointer.cs
- VisualCollection.cs
- OneOf.cs
- TableCell.cs
- JoinGraph.cs
- OdbcDataAdapter.cs
- AssemblyAssociatedContentFileAttribute.cs
- SettingsPropertyValue.cs
- ProcessHostFactoryHelper.cs
- PropertyInfoSet.cs
- SafeNativeMemoryHandle.cs
- ScriptReference.cs
- ProvidersHelper.cs
- WindowsAuthenticationModule.cs
- SRGSCompiler.cs
- FormsAuthenticationTicket.cs
- DefaultParameterValueAttribute.cs
- KeyValuePairs.cs
- DataObjectPastingEventArgs.cs
- WindowsListViewItemStartMenu.cs
- ServicePointManagerElement.cs
- InputBuffer.cs
- InkCollectionBehavior.cs
- httpapplicationstate.cs
- EditCommandColumn.cs
- ScrollItemPattern.cs
- AdRotator.cs
- Material.cs
- Italic.cs
- CharacterMetrics.cs
- Cursors.cs
- Asn1IntegerConverter.cs
- KernelTypeValidation.cs
- TextFormatterContext.cs
- PrincipalPermission.cs
- Events.cs
- CodeStatement.cs
- LogicalExpr.cs
- BrowserDefinition.cs
- TimeSpanSecondsConverter.cs
- DynamicAttribute.cs
- TreeWalker.cs
- RepeaterItemEventArgs.cs
- TypeBuilder.cs
- TypeNameConverter.cs
- ConfigXmlAttribute.cs
- _NTAuthentication.cs
- ExtendedProtectionPolicy.cs