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
- XMLDiffLoader.cs
- Simplifier.cs
- DbParameterCollection.cs
- ContextQuery.cs
- PropertyManager.cs
- StorageSetMapping.cs
- DbParameterCollection.cs
- ExpressionBinding.cs
- LogSwitch.cs
- OrderedDictionaryStateHelper.cs
- SectionInput.cs
- AxHost.cs
- XmlStringTable.cs
- CompiledRegexRunner.cs
- RangeValidator.cs
- EmbeddedMailObjectsCollection.cs
- DataPagerFieldItem.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- ClientTargetSection.cs
- HashStream.cs
- SQLChars.cs
- OrderByBuilder.cs
- RenderOptions.cs
- cookiecontainer.cs
- SynchronousChannelMergeEnumerator.cs
- WebBrowserProgressChangedEventHandler.cs
- TdsParserStateObject.cs
- SetIterators.cs
- IntegerFacetDescriptionElement.cs
- Identifier.cs
- ContentFilePart.cs
- TextSelectionHighlightLayer.cs
- ConfigXmlComment.cs
- SourceSwitch.cs
- BinHexEncoder.cs
- AbstractSvcMapFileLoader.cs
- BaseComponentEditor.cs
- HtmlInputButton.cs
- ToolStripPanel.cs
- ProtocolViolationException.cs
- UnknownBitmapEncoder.cs
- Baml2006ReaderFrame.cs
- Registry.cs
- SortFieldComparer.cs
- VBCodeProvider.cs
- XmlMemberMapping.cs
- WindowsEditBox.cs
- CustomError.cs
- SqlVersion.cs
- METAHEADER.cs
- RevocationPoint.cs
- IODescriptionAttribute.cs
- ToolBarButton.cs
- XmlQueryRuntime.cs
- UshortList2.cs
- UpdateManifestForBrowserApplication.cs
- ContextMenuStrip.cs
- TypeLibConverter.cs
- StickyNote.cs
- PreProcessInputEventArgs.cs
- ValueOfAction.cs
- CodeCompileUnit.cs
- LeaseManager.cs
- HiddenFieldDesigner.cs
- OrderPreservingPipeliningSpoolingTask.cs
- TemplateBuilder.cs
- DataGridCellInfo.cs
- VisualBasicExpressionConverter.cs
- UriParserTemplates.cs
- AttributeProviderAttribute.cs
- ComboBox.cs
- ComboBoxAutomationPeer.cs
- Page.cs
- GeometryCombineModeValidation.cs
- UrlMapping.cs
- ZipArchive.cs
- HtmlTableRowCollection.cs
- EventLogPermissionAttribute.cs
- WebServiceClientProxyGenerator.cs
- SystemIcons.cs
- RowSpanVector.cs
- DoubleLinkList.cs
- SchemaCollectionPreprocessor.cs
- HttpHandlerAction.cs
- TemplateKeyConverter.cs
- SqlFormatter.cs
- TimersDescriptionAttribute.cs
- Attributes.cs
- DataRecordInfo.cs
- DesignerOptions.cs
- TabControl.cs
- SecurityIdentifierConverter.cs
- XmlSchemaAnnotation.cs
- PrimitiveSchema.cs
- XmlEncoding.cs
- ReferencedAssemblyResolver.cs
- NodeFunctions.cs
- EntityViewGenerator.cs
- InstanceCompleteException.cs
- RichTextBoxDesigner.cs