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
- PersonalizationProviderHelper.cs
- IndexingContentUnit.cs
- EventLogSession.cs
- XamlWriter.cs
- ChildTable.cs
- MasterPage.cs
- EndGetFileNameFromUserRequest.cs
- HwndKeyboardInputProvider.cs
- FunctionImportElement.cs
- ItemCheckEvent.cs
- DataGridViewSortCompareEventArgs.cs
- PropertyEmitterBase.cs
- ButtonAutomationPeer.cs
- BindingCollection.cs
- QueryOperator.cs
- HtmlTextArea.cs
- GraphicsState.cs
- DataGridViewImageColumn.cs
- ListDictionary.cs
- AmbientProperties.cs
- AtomicFile.cs
- RSAOAEPKeyExchangeDeformatter.cs
- TypeDescriptionProviderAttribute.cs
- LocationChangedEventArgs.cs
- ScriptIgnoreAttribute.cs
- Queue.cs
- StaticTextPointer.cs
- SortAction.cs
- MethodCallConverter.cs
- SqlDelegatedTransaction.cs
- LiteralLink.cs
- EntityException.cs
- DataGridColumnCollection.cs
- DataRowCollection.cs
- FontWeight.cs
- MemoryStream.cs
- CodeSubDirectory.cs
- SamlAuthorizationDecisionClaimResource.cs
- ZipIOBlockManager.cs
- SectionXmlInfo.cs
- BinaryNegotiation.cs
- TextProperties.cs
- PackageDocument.cs
- TimeoutValidationAttribute.cs
- DetailsViewDeletedEventArgs.cs
- FragmentQueryKB.cs
- AssociationTypeEmitter.cs
- LoginUtil.cs
- xsdvalidator.cs
- SchemaCollectionCompiler.cs
- GlobalProxySelection.cs
- Dispatcher.cs
- SqlUtils.cs
- SerializationFieldInfo.cs
- ContentHostHelper.cs
- GregorianCalendarHelper.cs
- ChtmlFormAdapter.cs
- FormsAuthentication.cs
- VisualProxy.cs
- XsdDuration.cs
- TableItemPatternIdentifiers.cs
- PermissionToken.cs
- RowParagraph.cs
- FontFaceLayoutInfo.cs
- DataPagerFieldCommandEventArgs.cs
- TemplateNameScope.cs
- CatalogPartChrome.cs
- CTreeGenerator.cs
- PreProcessInputEventArgs.cs
- ScriptResourceInfo.cs
- StorageEntitySetMapping.cs
- SignatureConfirmations.cs
- SimplePropertyEntry.cs
- XPathNavigatorReader.cs
- ComponentResourceManager.cs
- RegexCode.cs
- BitConverter.cs
- SocketException.cs
- ApplicationCommands.cs
- CheckBoxPopupAdapter.cs
- SpecialFolderEnumConverter.cs
- TemplateBindingExpressionConverter.cs
- PngBitmapDecoder.cs
- TextWriterEngine.cs
- DesignerImageAdapter.cs
- WindowsEditBox.cs
- SerializationSectionGroup.cs
- ElementsClipboardData.cs
- CollectionBuilder.cs
- EventLogTraceListener.cs
- StorageEntitySetMapping.cs
- SmtpMail.cs
- BamlWriter.cs
- TypeReference.cs
- DataGridViewEditingControlShowingEventArgs.cs
- Utils.cs
- TableRow.cs
- HotSpotCollection.cs
- ChangesetResponse.cs
- DocumentSequence.cs