Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Navigation / ReturnEventArgs.cs / 1305600 / 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
- MultiView.cs
- DataObjectEventArgs.cs
- ValidationErrorEventArgs.cs
- AppDomainEvidenceFactory.cs
- VSWCFServiceContractGenerator.cs
- Random.cs
- SqlMethods.cs
- SymbolMethod.cs
- SelectionEditor.cs
- TdsParserSafeHandles.cs
- IFlowDocumentViewer.cs
- LoginStatusDesigner.cs
- ServicePointManager.cs
- CodeChecksumPragma.cs
- RecordManager.cs
- XpsFixedPageReaderWriter.cs
- CodeSubDirectory.cs
- SmtpMail.cs
- QuadTree.cs
- UnmanagedBitmapWrapper.cs
- UpdateException.cs
- AppendHelper.cs
- ProxyWebPart.cs
- SuppressMessageAttribute.cs
- X509UI.cs
- LinqDataSourceStatusEventArgs.cs
- UnmanagedMemoryStreamWrapper.cs
- StringConcat.cs
- unsafenativemethodstextservices.cs
- LexicalChunk.cs
- ConnectorEditor.cs
- DockAndAnchorLayout.cs
- SqlProviderManifest.cs
- EventProviderWriter.cs
- MailDefinition.cs
- DescendantBaseQuery.cs
- PackageFilter.cs
- ConnectionsZoneAutoFormat.cs
- VisualStyleInformation.cs
- SqlProcedureAttribute.cs
- TaiwanLunisolarCalendar.cs
- ToolTip.cs
- VariableExpressionConverter.cs
- SharedStatics.cs
- EntityContainerAssociationSetEnd.cs
- UserNameSecurityToken.cs
- DecryptRequest.cs
- BamlLocalizer.cs
- Brush.cs
- MarshalByValueComponent.cs
- BamlLocalizabilityResolver.cs
- ExtensionSimplifierMarkupObject.cs
- ApplicationDirectoryMembershipCondition.cs
- StateItem.cs
- CallbackDebugBehavior.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- ProcessModuleDesigner.cs
- VolatileResourceManager.cs
- ReadOnlyDataSourceView.cs
- DataGridViewElement.cs
- HideDisabledControlAdapter.cs
- SupportingTokenListenerFactory.cs
- ValueHandle.cs
- ReadOnlyDataSource.cs
- WebPartDisplayModeEventArgs.cs
- StringArrayEditor.cs
- EntityKey.cs
- ActivationArguments.cs
- WinEventWrap.cs
- StylusSystemGestureEventArgs.cs
- HttpsChannelFactory.cs
- SchemaCreator.cs
- SecurityValidationBehavior.cs
- GotoExpression.cs
- FlowDocumentPaginator.cs
- DataGridViewCellFormattingEventArgs.cs
- ExceptionTranslationTable.cs
- UnsafeNativeMethods.cs
- DesignTimeHTMLTextWriter.cs
- LocationReference.cs
- BatchWriter.cs
- UnsafeNativeMethods.cs
- ObjectSet.cs
- ToolStripDropDownMenu.cs
- ProcessProtocolHandler.cs
- Int32CAMarshaler.cs
- OleServicesContext.cs
- DbSourceCommand.cs
- ReadOnlyKeyedCollection.cs
- RectConverter.cs
- ProviderUtil.cs
- HatchBrush.cs
- ConfigPathUtility.cs
- StreamGeometryContext.cs
- SqlBulkCopyColumnMapping.cs
- MouseDevice.cs
- RegexReplacement.cs
- WmlValidationSummaryAdapter.cs
- PaperSource.cs
- ByteStream.cs