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
- AttachedAnnotationChangedEventArgs.cs
- Automation.cs
- DataTrigger.cs
- ClientTargetCollection.cs
- BamlVersionHeader.cs
- ControlBuilderAttribute.cs
- TaskFormBase.cs
- OpenTypeCommon.cs
- ScaleTransform.cs
- BooleanToVisibilityConverter.cs
- ExceptionRoutedEventArgs.cs
- XMLSyntaxException.cs
- QueryConverter.cs
- Size3DConverter.cs
- ObjectParameter.cs
- sqlmetadatafactory.cs
- FixedSOMTableRow.cs
- WebReferencesBuildProvider.cs
- ActiveXHost.cs
- Parameter.cs
- TextLineResult.cs
- CorrelationValidator.cs
- WebBrowserEvent.cs
- GenericUI.cs
- TransportChannelListener.cs
- Transform.cs
- ProfessionalColors.cs
- OleCmdHelper.cs
- EntityDataSourceReferenceGroup.cs
- ComplexTypeEmitter.cs
- SafeNativeMethods.cs
- QueryLifecycle.cs
- XmlWriterSettings.cs
- TreeViewItem.cs
- WorkflowViewStateService.cs
- MatrixConverter.cs
- DeflateEmulationStream.cs
- Menu.cs
- ValidationManager.cs
- recordstatefactory.cs
- VerticalAlignConverter.cs
- TrackingRecord.cs
- AttributeEmitter.cs
- RijndaelManagedTransform.cs
- MailWriter.cs
- ControlBuilderAttribute.cs
- ImportCatalogPart.cs
- Color.cs
- DynamicPropertyHolder.cs
- ValueTable.cs
- FusionWrap.cs
- ZipIOLocalFileBlock.cs
- AssertFilter.cs
- OverlappedAsyncResult.cs
- HttpChannelBindingToken.cs
- SchemaInfo.cs
- storepermission.cs
- GeneratedView.cs
- NameValueSectionHandler.cs
- ZeroOpNode.cs
- KeyedCollection.cs
- TagNameToTypeMapper.cs
- BinaryMethodMessage.cs
- WpfMemberInvoker.cs
- OleDbDataReader.cs
- AdRotator.cs
- WorkflowApplicationUnloadedException.cs
- CheckBoxPopupAdapter.cs
- FieldNameLookup.cs
- InplaceBitmapMetadataWriter.cs
- ToolboxItem.cs
- DataStreams.cs
- Internal.cs
- TextEditorCopyPaste.cs
- Function.cs
- XmlSchemaFacet.cs
- ToolStripGrip.cs
- ErrorLog.cs
- CodePrimitiveExpression.cs
- TextBoxLine.cs
- WebSysDefaultValueAttribute.cs
- HandledEventArgs.cs
- LogicalExpr.cs
- ScrollChangedEventArgs.cs
- MouseActionValueSerializer.cs
- HTMLTextWriter.cs
- ZipIOBlockManager.cs
- CapabilitiesRule.cs
- Rect3DConverter.cs
- ListViewItem.cs
- WindowsFormsSectionHandler.cs
- TagMapCollection.cs
- AssociationTypeEmitter.cs
- ISFTagAndGuidCache.cs
- ConfigurationStrings.cs
- TypedServiceOperationListItem.cs
- PageParserFilter.cs
- Point3DIndependentAnimationStorage.cs
- ValueQuery.cs
- ObjectRef.cs