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
- FontStretch.cs
- SystemException.cs
- PeerEndPoint.cs
- SQlBooleanStorage.cs
- ToolboxItemCollection.cs
- WindowPatternIdentifiers.cs
- XmlSchemaCollection.cs
- AsyncCompletedEventArgs.cs
- TextFindEngine.cs
- UndoEngine.cs
- RecordManager.cs
- SiteMapSection.cs
- MeasurementDCInfo.cs
- EqualityComparer.cs
- EntityDataSourceStatementEditor.cs
- DataGridViewCellStyleConverter.cs
- WebServiceResponseDesigner.cs
- XmlSchemaAll.cs
- Relationship.cs
- DropSource.cs
- Timer.cs
- UmAlQuraCalendar.cs
- EventSourceCreationData.cs
- Subtree.cs
- BoundingRectTracker.cs
- ParserExtension.cs
- CharUnicodeInfo.cs
- ArrayList.cs
- WinCategoryAttribute.cs
- ScriptControlDescriptor.cs
- DetailsViewPagerRow.cs
- InvalidComObjectException.cs
- KeyValuePair.cs
- ListViewContainer.cs
- DragDrop.cs
- DbCommandDefinition.cs
- ContextItemManager.cs
- ToolStripItemCollection.cs
- ProvidersHelper.cs
- TableRowCollection.cs
- CachedPathData.cs
- _ConnectionGroup.cs
- BigInt.cs
- CopyAction.cs
- DataServiceCollectionOfT.cs
- Int64Storage.cs
- EmptyEnumerator.cs
- EncryptedXml.cs
- ConnectivityStatus.cs
- StrongNamePublicKeyBlob.cs
- CellIdBoolean.cs
- ServicesUtilities.cs
- LabelDesigner.cs
- EntityWrapperFactory.cs
- LogExtentCollection.cs
- ConfigErrorGlyph.cs
- XmlDomTextWriter.cs
- StorageInfo.cs
- GiveFeedbackEvent.cs
- DuplicateWaitObjectException.cs
- SqlHelper.cs
- ResourceCategoryAttribute.cs
- StylusLogic.cs
- DbResourceAllocator.cs
- RouteItem.cs
- PackagePartCollection.cs
- RequiredAttributeAttribute.cs
- FakeModelPropertyImpl.cs
- ResourceDefaultValueAttribute.cs
- ClientFormsIdentity.cs
- DataViewManagerListItemTypeDescriptor.cs
- SystemIPv6InterfaceProperties.cs
- ObsoleteAttribute.cs
- DelegateSerializationHolder.cs
- WebEventTraceProvider.cs
- BadImageFormatException.cs
- DomainConstraint.cs
- PriorityItem.cs
- AttributeData.cs
- ToolStripItemRenderEventArgs.cs
- Utils.cs
- Vector3D.cs
- DesignerActionPropertyItem.cs
- DelegateArgumentReference.cs
- PagesSection.cs
- BasicBrowserDialog.designer.cs
- WebPartConnectionsEventArgs.cs
- Panel.cs
- ZipPackagePart.cs
- Opcode.cs
- DbConnectionStringCommon.cs
- XmlParser.cs
- TdsParserStaticMethods.cs
- ValidatingReaderNodeData.cs
- ConfigXmlCDataSection.cs
- OleAutBinder.cs
- EnlistmentTraceIdentifier.cs
- XappLauncher.cs
- StrokeCollection.cs
- AssemblyAttributesGoHere.cs