Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- DbProviderFactories.cs
- CodeTypeReferenceCollection.cs
- X509Extension.cs
- Base64Encoder.cs
- HiddenFieldPageStatePersister.cs
- _SslSessionsCache.cs
- UseManagedPresentationBindingElementImporter.cs
- IgnoreFileBuildProvider.cs
- GlobalProxySelection.cs
- OleDbDataAdapter.cs
- OperandQuery.cs
- PackageRelationship.cs
- SafeRegistryHandle.cs
- Table.cs
- PreservationFileWriter.cs
- EllipticalNodeOperations.cs
- QilCloneVisitor.cs
- TripleDES.cs
- BamlRecords.cs
- DataGridSortCommandEventArgs.cs
- SqlNotificationEventArgs.cs
- ProviderMetadataCachedInformation.cs
- Classification.cs
- TrackingMemoryStream.cs
- BackgroundFormatInfo.cs
- Scheduler.cs
- SqlRetyper.cs
- Stacktrace.cs
- _FtpDataStream.cs
- WebPartConnectionsCancelVerb.cs
- IndexedEnumerable.cs
- DataGridViewCellPaintingEventArgs.cs
- FlowPosition.cs
- Rotation3DKeyFrameCollection.cs
- LineGeometry.cs
- PathStreamGeometryContext.cs
- Translator.cs
- StreamUpgradeProvider.cs
- ComEventsHelper.cs
- EdmSchemaError.cs
- ManifestResourceInfo.cs
- ImageField.cs
- FlowDocument.cs
- Material.cs
- ImageAttributes.cs
- InheritablePropertyChangeInfo.cs
- SafePointer.cs
- ExtensionFile.cs
- securestring.cs
- ObservableCollectionDefaultValueFactory.cs
- QilInvoke.cs
- ButtonChrome.cs
- Menu.cs
- ResourceCategoryAttribute.cs
- PathSegmentCollection.cs
- ChainOfResponsibility.cs
- ConfigXmlElement.cs
- Int64Converter.cs
- cache.cs
- OleDbDataReader.cs
- LightweightEntityWrapper.cs
- SpeechSynthesizer.cs
- MissingSatelliteAssemblyException.cs
- WebResponse.cs
- FatalException.cs
- NamedPipeDuplicateContext.cs
- ITreeGenerator.cs
- ConstraintEnumerator.cs
- EnumBuilder.cs
- ObjectListCommandEventArgs.cs
- NameNode.cs
- ErrorEventArgs.cs
- DataListItemEventArgs.cs
- ObjectDataSourceDesigner.cs
- EntityStoreSchemaFilterEntry.cs
- TextEditorLists.cs
- Accessors.cs
- AuthorizationRuleCollection.cs
- Message.cs
- WebPartCloseVerb.cs
- ProviderUtil.cs
- TextTreeUndo.cs
- TraceContextRecord.cs
- ClientConfigurationSystem.cs
- HttpCacheVary.cs
- Pair.cs
- XmlAnyAttributeAttribute.cs
- BlurBitmapEffect.cs
- SecurityPolicySection.cs
- XmlAttributeOverrides.cs
- ViewDesigner.cs
- HtmlTextViewAdapter.cs
- sqlpipe.cs
- PolyBezierSegment.cs
- DependencyObject.cs
- SafeNativeMethods.cs
- ZipIORawDataFileBlock.cs
- WorkflowMessageEventHandler.cs
- ProcessHostServerConfig.cs
- KeyedCollection.cs