Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / Design / Serialization / ResolveNameEventArgs.cs / 1305376 / 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
- ClaimComparer.cs
- WebBaseEventKeyComparer.cs
- SqlConnectionHelper.cs
- ContextMenuStrip.cs
- ObjectStorage.cs
- CounterCreationDataCollection.cs
- ConnectionStringSettingsCollection.cs
- RightsManagementProvider.cs
- NotSupportedException.cs
- LinqDataSourceInsertEventArgs.cs
- TreeViewAutomationPeer.cs
- GuidelineCollection.cs
- DataListItemEventArgs.cs
- IndentedWriter.cs
- DropShadowBitmapEffect.cs
- SmiEventStream.cs
- RightsManagementPermission.cs
- ChildrenQuery.cs
- Collection.cs
- RequestTimeoutManager.cs
- SQLInt64.cs
- BitmapEffectRenderDataResource.cs
- sortedlist.cs
- CroppedBitmap.cs
- FutureFactory.cs
- WebPartVerbCollection.cs
- WinCategoryAttribute.cs
- RadioButtonPopupAdapter.cs
- StrongNameIdentityPermission.cs
- RegexGroup.cs
- CorruptingExceptionCommon.cs
- SystemIPAddressInformation.cs
- Screen.cs
- IndexedGlyphRun.cs
- PageContentCollection.cs
- TextEditorSelection.cs
- AnimationStorage.cs
- ProfileBuildProvider.cs
- InstancePersistence.cs
- HtmlHead.cs
- ReturnValue.cs
- TdsParserHelperClasses.cs
- TaiwanCalendar.cs
- ButtonRenderer.cs
- OdbcConnectionString.cs
- BulletChrome.cs
- StringUtil.cs
- AuthorizationRuleCollection.cs
- BaseTemplateParser.cs
- ActiveXHelper.cs
- TypeBuilderInstantiation.cs
- DataRow.cs
- DocumentReferenceCollection.cs
- EpmContentSerializer.cs
- MSAAEventDispatcher.cs
- KeyGestureConverter.cs
- FtpCachePolicyElement.cs
- SchemaTypeEmitter.cs
- DoubleAnimationBase.cs
- FormCollection.cs
- RecipientInfo.cs
- Variable.cs
- OpenTypeCommon.cs
- StorageEntitySetMapping.cs
- COAUTHINFO.cs
- PropertyMetadata.cs
- TextPenaltyModule.cs
- AsyncInvokeContext.cs
- BindingNavigator.cs
- SyndicationDeserializer.cs
- CredentialManagerDialog.cs
- Transaction.cs
- MethodCallTranslator.cs
- DefaultBindingPropertyAttribute.cs
- ListMarkerSourceInfo.cs
- SerializerProvider.cs
- Clause.cs
- EntityDesignerDataSourceView.cs
- FilteredSchemaElementLookUpTable.cs
- DataBindingCollection.cs
- LineVisual.cs
- FunctionNode.cs
- XmlSchemaAny.cs
- ToolStripDropDownClosedEventArgs.cs
- _TransmitFileOverlappedAsyncResult.cs
- BatchWriter.cs
- BaseValidator.cs
- DriveInfo.cs
- ComplexTypeEmitter.cs
- ActivityIdHeader.cs
- PropertyCollection.cs
- Int64Storage.cs
- WebScriptMetadataFormatter.cs
- NavigationHelper.cs
- ImageAttributes.cs
- RevocationPoint.cs
- MenuItem.cs
- GenericIdentity.cs
- SqlCaseSimplifier.cs
- InsufficientMemoryException.cs