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
- OutOfProcStateClientManager.cs
- ContextProperty.cs
- IdentityReference.cs
- XamlReader.cs
- WebPartCatalogAddVerb.cs
- CacheEntry.cs
- IODescriptionAttribute.cs
- XPathScanner.cs
- Visitors.cs
- DiagnosticStrings.cs
- CompilationPass2Task.cs
- DataSetUtil.cs
- DesignOnlyAttribute.cs
- QueryContinueDragEventArgs.cs
- AuthenticationManager.cs
- WebPartTransformerCollection.cs
- NonValidatingSecurityTokenAuthenticator.cs
- PrintDialog.cs
- RubberbandSelector.cs
- BroadcastEventHelper.cs
- HebrewNumber.cs
- TextModifierScope.cs
- WsatStrings.cs
- Int32Rect.cs
- UpdateCompiler.cs
- XmlDocumentFieldSchema.cs
- FormCollection.cs
- Oid.cs
- ComponentEditorPage.cs
- ArrayMergeHelper.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- TextViewBase.cs
- RecipientInfo.cs
- InstanceDataCollectionCollection.cs
- ViewRendering.cs
- NotifyIcon.cs
- FunctionNode.cs
- BitArray.cs
- XamlSerializerUtil.cs
- ArrangedElement.cs
- GenericTypeParameterBuilder.cs
- SemanticResultKey.cs
- CollectionContainer.cs
- Rotation3D.cs
- TypeCodeDomSerializer.cs
- DataControlField.cs
- AVElementHelper.cs
- TagPrefixAttribute.cs
- MemberInfoSerializationHolder.cs
- CornerRadiusConverter.cs
- ProcessHostMapPath.cs
- StringConverter.cs
- ActionNotSupportedException.cs
- WebPermission.cs
- StringExpressionSet.cs
- DataGridViewImageCell.cs
- EtwTrace.cs
- SemanticResultKey.cs
- CatalogPartCollection.cs
- _NativeSSPI.cs
- NetMsmqSecurityElement.cs
- ResourceDictionaryCollection.cs
- FixedDocumentPaginator.cs
- CallbackTimeoutsElement.cs
- Formatter.cs
- DataGridHyperlinkColumn.cs
- DataBinder.cs
- PartManifestEntry.cs
- KeyInfo.cs
- StringPropertyBuilder.cs
- UserInitiatedNavigationPermission.cs
- ToolStripItemEventArgs.cs
- PositiveTimeSpanValidatorAttribute.cs
- DebugView.cs
- FileChangesMonitor.cs
- CopyNodeSetAction.cs
- ChtmlImageAdapter.cs
- TextAutomationPeer.cs
- Helper.cs
- ICollection.cs
- RequiredAttributeAttribute.cs
- Form.cs
- SqlBulkCopyColumnMappingCollection.cs
- ConfigurationException.cs
- ObjectSpanRewriter.cs
- OdbcCommand.cs
- ResolvedKeyFrameEntry.cs
- ImageMetadata.cs
- GroupQuery.cs
- RegexWorker.cs
- XmlTextReaderImpl.cs
- FaultCallbackWrapper.cs
- securitymgrsite.cs
- BoolExpression.cs
- ResponseBodyWriter.cs
- XamlReader.cs
- ContentIterators.cs
- Composition.cs
- CodeExporter.cs
- ReservationNotFoundException.cs