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
- UnsafeNativeMethods.cs
- PageThemeCodeDomTreeGenerator.cs
- LinqExpressionNormalizer.cs
- SafeUserTokenHandle.cs
- StsCommunicationException.cs
- ContainerControl.cs
- SignatureToken.cs
- MainMenu.cs
- SignedPkcs7.cs
- FastEncoderWindow.cs
- ChangeProcessor.cs
- SqlCaseSimplifier.cs
- indexingfiltermarshaler.cs
- QueryableFilterUserControl.cs
- DragEventArgs.cs
- DataStorage.cs
- Memoizer.cs
- XmlJsonWriter.cs
- SafeMarshalContext.cs
- ExtendedProtectionPolicyTypeConverter.cs
- NamedServiceModelExtensionCollectionElement.cs
- ScrollChrome.cs
- RegionIterator.cs
- sqlpipe.cs
- SqlInternalConnection.cs
- PermissionAttributes.cs
- DrawingImage.cs
- BitmapEncoder.cs
- webeventbuffer.cs
- ScalarOps.cs
- ConnectionsZone.cs
- SqlDataSourceStatusEventArgs.cs
- XmlBinaryReaderSession.cs
- SHA256Cng.cs
- BooleanToVisibilityConverter.cs
- ProviderCollection.cs
- Exceptions.cs
- MimeMapping.cs
- DataGridColumnHeaderAutomationPeer.cs
- ObjectQueryExecutionPlan.cs
- ISAPIApplicationHost.cs
- WebFormsRootDesigner.cs
- XPathPatternBuilder.cs
- DragEvent.cs
- XmlAttributeProperties.cs
- ControlCollection.cs
- SynchronizedInputPattern.cs
- ParserStreamGeometryContext.cs
- WeakRefEnumerator.cs
- StateManagedCollection.cs
- MenuBindingsEditor.cs
- WebPartManagerInternals.cs
- PropertyBuilder.cs
- ObjectAnimationUsingKeyFrames.cs
- GridViewHeaderRowPresenter.cs
- _ListenerRequestStream.cs
- QilFunction.cs
- PostBackTrigger.cs
- AnimatedTypeHelpers.cs
- PrePrepareMethodAttribute.cs
- HostingEnvironmentSection.cs
- SafePointer.cs
- CustomErrorsSection.cs
- DataGridViewDataErrorEventArgs.cs
- DefaultExpressionVisitor.cs
- MemberHolder.cs
- BinaryFormatterWriter.cs
- DataService.cs
- PreDigestedSignedInfo.cs
- TextFindEngine.cs
- EntityViewGenerator.cs
- StorageAssociationSetMapping.cs
- ErrorFormatter.cs
- PopupEventArgs.cs
- SecurityHelper.cs
- TreeNodeClickEventArgs.cs
- CodeCatchClauseCollection.cs
- SchemaImporter.cs
- PolicyException.cs
- Boolean.cs
- RuleInfoComparer.cs
- HttpCookie.cs
- EventSetter.cs
- RuntimeConfigurationRecord.cs
- InstanceOwnerException.cs
- WebPartHeaderCloseVerb.cs
- odbcmetadatafactory.cs
- Part.cs
- oledbmetadatacollectionnames.cs
- WindowsEditBox.cs
- LayoutUtils.cs
- SecurityCriticalDataForSet.cs
- SqlProfileProvider.cs
- _OSSOCK.cs
- ListItemParagraph.cs
- RtfToken.cs
- DataStreamFromComStream.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- OlePropertyStructs.cs
- activationcontext.cs