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
- Calendar.cs
- StringComparer.cs
- WebPartsPersonalizationAuthorization.cs
- TrackingMemoryStreamFactory.cs
- Calendar.cs
- ContentDisposition.cs
- DataGrid.cs
- LocalTransaction.cs
- SqlRewriteScalarSubqueries.cs
- JsonGlobals.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- WindowAutomationPeer.cs
- PersonalizationDictionary.cs
- OdbcErrorCollection.cs
- DateTimeOffsetStorage.cs
- MergeEnumerator.cs
- ZipPackage.cs
- ISAPIApplicationHost.cs
- XmlSchemaSimpleTypeList.cs
- IDispatchConstantAttribute.cs
- ViewRendering.cs
- Msec.cs
- XMLSchema.cs
- DBSqlParserTable.cs
- DefaultWorkflowSchedulerService.cs
- RoleGroupCollection.cs
- StrongNameMembershipCondition.cs
- ButtonDesigner.cs
- CompareInfo.cs
- WizardForm.cs
- WebReferenceOptions.cs
- __Error.cs
- EmbeddedMailObjectsCollection.cs
- SafeRegistryHandle.cs
- XamlContextStack.cs
- Request.cs
- FieldDescriptor.cs
- Set.cs
- WebPartUserCapability.cs
- Pts.cs
- TimeZone.cs
- CompileLiteralTextParser.cs
- ButtonBase.cs
- WorkflowViewService.cs
- XmlElementList.cs
- UniqueTransportManagerRegistration.cs
- ConfigurationSectionGroup.cs
- SqlDependencyListener.cs
- DetailsViewInsertEventArgs.cs
- FullTrustAssembly.cs
- SchemaAttDef.cs
- AlternateViewCollection.cs
- GregorianCalendar.cs
- DataGridViewLinkColumn.cs
- ObjectContext.cs
- DataBoundControlHelper.cs
- KeyValueSerializer.cs
- TypeDescriptorFilterService.cs
- Stroke.cs
- FloatUtil.cs
- OleDbTransaction.cs
- EditorZone.cs
- WorkItem.cs
- WebScriptMetadataInstanceContextProvider.cs
- StaticExtensionConverter.cs
- OleStrCAMarshaler.cs
- AttributeCollection.cs
- InternalConfigHost.cs
- PeerCredential.cs
- CodeRemoveEventStatement.cs
- ProfileSettingsCollection.cs
- hwndwrapper.cs
- PublisherMembershipCondition.cs
- MailWriter.cs
- SmtpCommands.cs
- PreviewKeyDownEventArgs.cs
- InstanceLockLostException.cs
- ProcessInfo.cs
- PackageRelationshipSelector.cs
- WeakKeyDictionary.cs
- AlgoModule.cs
- XPathSingletonIterator.cs
- Freezable.cs
- GraphicsPathIterator.cs
- SafeViewOfFileHandle.cs
- ListCardsInFileRequest.cs
- QueryStringConverter.cs
- HMACRIPEMD160.cs
- EntityContainerEntitySet.cs
- ArgIterator.cs
- CmsUtils.cs
- AstTree.cs
- AsnEncodedData.cs
- Stack.cs
- GlobalItem.cs
- storepermission.cs
- ParallelEnumerableWrapper.cs
- PeerNameResolver.cs
- HeaderCollection.cs
- XmlElementAttribute.cs