Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Framework / System / Windows / Navigation / ReturnEventArgs.cs / 1 / ReturnEventArgs.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: // ReturnEventArgs is a generic flavor of EventArgs, // that enable setting, getting a typed value that's // passed between Pagefunctions. // // History: // 05/09/03: marka Created. // 07/08/04: weibz Rename and make it compliant with guideline. // //--------------------------------------------------------------------------- using System; namespace System.Windows.Navigation { ////// ReturnEventArgs is a generic flavor of EventArgs, /// that enable setting, getting a typed value that's /// passed between Pagefunctions. /// public class ReturnEventArgs: System.EventArgs { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors /// /// ReturnEventArgs constructor /// public ReturnEventArgs() { } ////// ReturnEventArgs constructor. Supplied value is assigned to Result value /// ///Assigned to Result property public ReturnEventArgs( T result) { _result = result; } #endregion Constructors //------------------------------------------------------ // // Public Properties // //----------------------------------------------------- #region Public Properties ////// The Result property indicates the result that a PageFunction is /// returning to it's caller, at the end of a Structured Navigation. /// public T Result { get { return _result; } set { _result = value; } } #endregion Public Properties //------------------------------------------------------ // // Private Fields // //------------------------------------------------------ #region Private Fields private T _result; #endregion Private Fields } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: // ReturnEventArgs is a generic flavor of EventArgs, // that enable setting, getting a typed value that's // passed between Pagefunctions. // // History: // 05/09/03: marka Created. // 07/08/04: weibz Rename and make it compliant with guideline. // //--------------------------------------------------------------------------- using System; namespace System.Windows.Navigation { ////// ReturnEventArgs is a generic flavor of EventArgs, /// that enable setting, getting a typed value that's /// passed between Pagefunctions. /// public class ReturnEventArgs: System.EventArgs { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors /// /// ReturnEventArgs constructor /// public ReturnEventArgs() { } ////// ReturnEventArgs constructor. Supplied value is assigned to Result value /// ///Assigned to Result property public ReturnEventArgs( T result) { _result = result; } #endregion Constructors //------------------------------------------------------ // // Public Properties // //----------------------------------------------------- #region Public Properties ////// The Result property indicates the result that a PageFunction is /// returning to it's caller, at the end of a Structured Navigation. /// public T Result { get { return _result; } set { _result = value; } } #endregion Public Properties //------------------------------------------------------ // // Private Fields // //------------------------------------------------------ #region Private Fields private T _result; #endregion Private Fields } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SamlSecurityToken.cs
- MultiViewDesigner.cs
- CellCreator.cs
- Int32EqualityComparer.cs
- DataGridItemEventArgs.cs
- NamespaceTable.cs
- AssociationTypeEmitter.cs
- ServiceDeploymentInfo.cs
- TaskExceptionHolder.cs
- PropertyItem.cs
- TempFiles.cs
- ImportedNamespaceContextItem.cs
- ClaimComparer.cs
- PropertyEmitter.cs
- DateTimeParse.cs
- Span.cs
- BitStream.cs
- PackageStore.cs
- DesignerDataTable.cs
- DataServiceException.cs
- TriggerAction.cs
- SharedPersonalizationStateInfo.cs
- BroadcastEventHelper.cs
- DiagnosticTraceSource.cs
- IncrementalReadDecoders.cs
- TextEditorThreadLocalStore.cs
- ProtocolsSection.cs
- CompositeActivityTypeDescriptorProvider.cs
- SessionPageStatePersister.cs
- Triplet.cs
- SqlXmlStorage.cs
- ClientConfigPaths.cs
- HttpPostedFileWrapper.cs
- ProvidersHelper.cs
- TextEditorContextMenu.cs
- Propagator.ExtentPlaceholderCreator.cs
- CompletedAsyncResult.cs
- DataGridBoundColumn.cs
- HideDisabledControlAdapter.cs
- GatewayDefinition.cs
- HttpCacheParams.cs
- ItemList.cs
- SqlBulkCopy.cs
- NumberSubstitution.cs
- AffineTransform3D.cs
- DependencyPropertyKind.cs
- RegexCapture.cs
- MultiSelectRootGridEntry.cs
- Error.cs
- TrackingDataItemValue.cs
- StringUtil.cs
- DrawingServices.cs
- EncoderNLS.cs
- ExpressionList.cs
- LocalizationComments.cs
- IndividualDeviceConfig.cs
- References.cs
- TableDetailsCollection.cs
- PartialCachingControl.cs
- SpecularMaterial.cs
- GeometryGroup.cs
- AttachedPropertyMethodSelector.cs
- StreamGeometryContext.cs
- TypeConstant.cs
- MediaElement.cs
- HttpRequest.cs
- TdsParserSafeHandles.cs
- ValidationEventArgs.cs
- SHA384Cng.cs
- LocalizationComments.cs
- QueryResponse.cs
- NativeMethods.cs
- Bidi.cs
- NameValueFileSectionHandler.cs
- CodeEntryPointMethod.cs
- InternalBufferOverflowException.cs
- ipaddressinformationcollection.cs
- X509CertificateTrustedIssuerElementCollection.cs
- SoapIncludeAttribute.cs
- CompilerTypeWithParams.cs
- ReachNamespaceInfo.cs
- ErrorWrapper.cs
- BitmapSource.cs
- ObjectPropertyMapping.cs
- Point.cs
- DocumentSchemaValidator.cs
- XmlSchemaAttributeGroupRef.cs
- MenuItemCollection.cs
- ActivityCodeDomReferenceService.cs
- DataKey.cs
- SafeEventLogWriteHandle.cs
- IsolatedStorageFile.cs
- DropAnimation.xaml.cs
- Pen.cs
- RecordsAffectedEventArgs.cs
- IndependentAnimationStorage.cs
- MetadataImporter.cs
- StateWorkerRequest.cs
- XamlSerializerUtil.cs
- ObjectItemAssemblyLoader.cs