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
- GeometryHitTestResult.cs
- SessionSymmetricTransportSecurityProtocolFactory.cs
- XmlImplementation.cs
- PropertyKey.cs
- PerfCounters.cs
- LogRecordSequence.cs
- HttpApplication.cs
- RSAOAEPKeyExchangeDeformatter.cs
- mactripleDES.cs
- SQLDateTime.cs
- MenuItemCollectionEditor.cs
- SqlAggregateChecker.cs
- SeverityFilter.cs
- CopyOfAction.cs
- MediaEntryAttribute.cs
- InProcStateClientManager.cs
- XmlIlVisitor.cs
- EdmValidator.cs
- Queue.cs
- EntityEntry.cs
- IPPacketInformation.cs
- ArrayElementGridEntry.cs
- SqlBooleanMismatchVisitor.cs
- PersonalizationProvider.cs
- OdbcConnectionStringbuilder.cs
- HijriCalendar.cs
- FontEmbeddingManager.cs
- Model3DGroup.cs
- DataGridViewColumnStateChangedEventArgs.cs
- Margins.cs
- CachingHintValidation.cs
- TrimSurroundingWhitespaceAttribute.cs
- StyleTypedPropertyAttribute.cs
- BaseCollection.cs
- OpenTypeMethods.cs
- InstalledVoice.cs
- HebrewNumber.cs
- IssuanceTokenProviderBase.cs
- RegistrationServices.cs
- webproxy.cs
- ResourceCategoryAttribute.cs
- SqlNotificationEventArgs.cs
- SmtpAuthenticationManager.cs
- SQLDateTime.cs
- TableItemPattern.cs
- Serialization.cs
- DataGridViewSelectedRowCollection.cs
- Encoder.cs
- SourceSwitch.cs
- BaseTreeIterator.cs
- SpotLight.cs
- RoutedCommand.cs
- HandleTable.cs
- ArrayListCollectionBase.cs
- DesignerAutoFormatStyle.cs
- DateTimeFormat.cs
- SettingsSavedEventArgs.cs
- ProcessHostServerConfig.cs
- __Error.cs
- ClientSponsor.cs
- GeneralTransformGroup.cs
- DataTable.cs
- _BaseOverlappedAsyncResult.cs
- LayoutTable.cs
- FactoryId.cs
- XsltException.cs
- COSERVERINFO.cs
- PropertyChangedEventArgs.cs
- RouteValueExpressionBuilder.cs
- HostDesigntimeLicenseContext.cs
- ResourceDescriptionAttribute.cs
- ObjectListCommandEventArgs.cs
- TreeNodeStyle.cs
- GC.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- HtmlToClrEventProxy.cs
- ConfigurationManagerInternal.cs
- UnsafePeerToPeerMethods.cs
- OleDbParameterCollection.cs
- nulltextcontainer.cs
- PrimaryKeyTypeConverter.cs
- MimeTypeMapper.cs
- OdbcConnectionFactory.cs
- CodeCompileUnit.cs
- DownloadProgressEventArgs.cs
- HotCommands.cs
- ApplicationCommands.cs
- CompareInfo.cs
- PeerCollaborationPermission.cs
- DocumentPage.cs
- Geometry3D.cs
- AsymmetricKeyExchangeDeformatter.cs
- RadioButtonDesigner.cs
- MediaContext.cs
- SerializationAttributes.cs
- ConfigurationManagerInternalFactory.cs
- PageCodeDomTreeGenerator.cs
- SortDescription.cs
- PolicyValidator.cs
- ParallelRangeManager.cs