Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- Menu.cs
- TypeConverterAttribute.cs
- AnimatedTypeHelpers.cs
- RepeaterItemCollection.cs
- cryptoapiTransform.cs
- XmlEntity.cs
- SrgsRulesCollection.cs
- CompositionTarget.cs
- CharacterString.cs
- ClosureBinding.cs
- DataGridPagingPage.cs
- AsyncPostBackTrigger.cs
- PageVisual.cs
- TypeForwardedToAttribute.cs
- ReadOnlyTernaryTree.cs
- TextContainerChangeEventArgs.cs
- ConnectionPointGlyph.cs
- DecoderReplacementFallback.cs
- WindowsListViewItem.cs
- CacheOutputQuery.cs
- HelpEvent.cs
- HtmlTableCellCollection.cs
- IfJoinedCondition.cs
- TreeViewDesigner.cs
- Selection.cs
- GridViewDesigner.cs
- StylusShape.cs
- BufferBuilder.cs
- HttpRequestBase.cs
- NotifyInputEventArgs.cs
- SrgsGrammar.cs
- MatrixConverter.cs
- Boolean.cs
- XmlSchemaSimpleContentRestriction.cs
- ContentFilePart.cs
- BigInt.cs
- Validator.cs
- FixedPageAutomationPeer.cs
- CharacterString.cs
- sitestring.cs
- ScriptRef.cs
- RangeValidator.cs
- Point4D.cs
- FilteredAttributeCollection.cs
- EventLog.cs
- KoreanLunisolarCalendar.cs
- Baml2006SchemaContext.cs
- CornerRadius.cs
- WindowAutomationPeer.cs
- ProcessInfo.cs
- TreeView.cs
- RepeaterCommandEventArgs.cs
- UpdateTranslator.cs
- FormsAuthenticationUser.cs
- TypeConverterAttribute.cs
- OperandQuery.cs
- ReaderContextStackData.cs
- DataGridViewAutoSizeModeEventArgs.cs
- CodeDomSerializerException.cs
- OutKeywords.cs
- PropertyEmitter.cs
- UIElement3D.cs
- WhereaboutsReader.cs
- HttpApplicationFactory.cs
- MetadataException.cs
- DynamicEntity.cs
- ListViewItemMouseHoverEvent.cs
- Metadata.cs
- coordinatorfactory.cs
- SystemParameters.cs
- SimpleWorkerRequest.cs
- SafeSystemMetrics.cs
- OciEnlistContext.cs
- BaseCodePageEncoding.cs
- Geometry.cs
- RequestUriProcessor.cs
- VisualProxy.cs
- ToggleButtonAutomationPeer.cs
- JournalEntryListConverter.cs
- MouseWheelEventArgs.cs
- odbcmetadatacollectionnames.cs
- XmlSchemaSimpleTypeUnion.cs
- KeyEventArgs.cs
- OdbcHandle.cs
- Timeline.cs
- MenuAutoFormat.cs
- TabControl.cs
- QilFunction.cs
- DoubleCollectionValueSerializer.cs
- SoapReflectionImporter.cs
- PropertyValidationContext.cs
- AssociationSetMetadata.cs
- ExpressionParser.cs
- AllMembershipCondition.cs
- TemplateModeChangedEventArgs.cs
- WindowsPen.cs
- XsdDuration.cs
- DataViewManager.cs
- DataGridPageChangedEventArgs.cs
- EntityCommandExecutionException.cs