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
- TextBox.cs
- NativeWindow.cs
- MsmqIntegrationSecurity.cs
- FloatUtil.cs
- EntityDesignerUtils.cs
- XmlTextReader.cs
- Tile.cs
- ToolStripOverflowButton.cs
- EntityDataSourceQueryBuilder.cs
- TrackingServices.cs
- MailBnfHelper.cs
- SAPICategories.cs
- DataGridViewTopLeftHeaderCell.cs
- PropertyItemInternal.cs
- Repeater.cs
- OlePropertyStructs.cs
- StyleBamlTreeBuilder.cs
- DefaultParameterValueAttribute.cs
- TextSelectionHelper.cs
- MappingSource.cs
- CompleteWizardStep.cs
- StylusEditingBehavior.cs
- XLinq.cs
- WorkflowServiceHostFactory.cs
- ListDictionary.cs
- DbConnectionPoolIdentity.cs
- FilterElement.cs
- Metafile.cs
- CalendarDataBindingHandler.cs
- EventHandlersDesigner.cs
- KeyedHashAlgorithm.cs
- ErrorsHelper.cs
- SqlMethodCallConverter.cs
- ListViewItem.cs
- Stroke2.cs
- XPathAncestorQuery.cs
- QueryMath.cs
- FormatterServicesNoSerializableCheck.cs
- WorkflowControlEndpoint.cs
- FlowStep.cs
- UnitySerializationHolder.cs
- XmlTextReader.cs
- SessionConnectionReader.cs
- CommentEmitter.cs
- SettingsPropertyWrongTypeException.cs
- WebBrowserBase.cs
- IndexingContentUnit.cs
- RectIndependentAnimationStorage.cs
- FormsAuthenticationCredentials.cs
- DesignerToolStripControlHost.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- NetworkAddressChange.cs
- ResXDataNode.cs
- SQLBoolean.cs
- ScriptingWebServicesSectionGroup.cs
- HttpAsyncResult.cs
- ChangeConflicts.cs
- DataGridViewColumn.cs
- NodeLabelEditEvent.cs
- XamlTypeMapper.cs
- HtmlInputRadioButton.cs
- EventBuilder.cs
- DataGridCommandEventArgs.cs
- CodeGenHelper.cs
- TreePrinter.cs
- XmlBinaryWriter.cs
- ClosableStream.cs
- LogicalChannelCollection.cs
- DataGridViewToolTip.cs
- CapiNative.cs
- XmlReader.cs
- AssociationProvider.cs
- DataRecordInfo.cs
- RoleManagerModule.cs
- DbParameterCollectionHelper.cs
- ACL.cs
- EventRoute.cs
- QueryRewriter.cs
- XhtmlBasicValidatorAdapter.cs
- SortDescription.cs
- BitmapEffectrendercontext.cs
- ActivitySurrogateSelector.cs
- WebPartConnectVerb.cs
- Int64.cs
- FileBasedResourceGroveler.cs
- SerializationStore.cs
- CollectionBuilder.cs
- AutoScrollExpandMessageFilter.cs
- HtmlElement.cs
- ResourcePart.cs
- WsdlInspector.cs
- SchemaImporter.cs
- XamlToRtfWriter.cs
- DrawingBrush.cs
- MdImport.cs
- AutomationProperty.cs
- XsltConvert.cs
- XsdValidatingReader.cs
- LogWriteRestartAreaState.cs
- Style.cs