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
- XmlNavigatorFilter.cs
- DetailsViewDeletedEventArgs.cs
- Stack.cs
- MappingModelBuildProvider.cs
- InternalSafeNativeMethods.cs
- MetadataArtifactLoaderResource.cs
- ArrayHelper.cs
- JsonWriter.cs
- RangeValidator.cs
- PropertyRef.cs
- AppearanceEditorPart.cs
- SamlSecurityToken.cs
- DataBoundControl.cs
- HtmlInputButton.cs
- DesignerHelpers.cs
- FileSystemEventArgs.cs
- CallInfo.cs
- SecurityCriticalDataForSet.cs
- Stroke.cs
- ToolStripRenderer.cs
- RegexReplacement.cs
- nulltextcontainer.cs
- Buffer.cs
- ComponentEditorForm.cs
- UInt16Storage.cs
- StreamWriter.cs
- LoaderAllocator.cs
- FixedSOMLineCollection.cs
- BorderGapMaskConverter.cs
- Unit.cs
- Base64Stream.cs
- TreeViewAutomationPeer.cs
- BitmapData.cs
- FilterFactory.cs
- MimeMapping.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- JournalEntryStack.cs
- SiteMap.cs
- HtmlControlAdapter.cs
- storagemappingitemcollection.viewdictionary.cs
- ExchangeUtilities.cs
- PeerNameResolver.cs
- IPipelineRuntime.cs
- DoubleAnimation.cs
- SimplePropertyEntry.cs
- KnownBoxes.cs
- XmlWriterSettings.cs
- ValidatingReaderNodeData.cs
- EntityModelSchemaGenerator.cs
- HttpValueCollection.cs
- SqlCacheDependencyDatabase.cs
- IListConverters.cs
- XamlTypeWithExplicitNamespace.cs
- SelectedDatesCollection.cs
- XmlDataSource.cs
- HelpProvider.cs
- XmlSchemaAnnotated.cs
- IntSecurity.cs
- PriorityQueue.cs
- SqlInternalConnectionTds.cs
- StringArrayConverter.cs
- ListViewDeleteEventArgs.cs
- ColorDialog.cs
- DocumentEventArgs.cs
- SystemPens.cs
- DbConnectionHelper.cs
- PersonalizationStateInfo.cs
- XmlWriter.cs
- HostingPreferredMapPath.cs
- SvcFileManager.cs
- ListItemConverter.cs
- HashAlgorithm.cs
- RIPEMD160.cs
- SpellerStatusTable.cs
- TdsValueSetter.cs
- PropertyTab.cs
- File.cs
- XmlDataProvider.cs
- SqlBuilder.cs
- IncrementalCompileAnalyzer.cs
- DataRelationCollection.cs
- PersonalizationStateInfo.cs
- RuntimeWrappedException.cs
- CultureData.cs
- PriorityBindingExpression.cs
- SQLMoney.cs
- UrlRoutingModule.cs
- MergeFailedEvent.cs
- OleDbStruct.cs
- SafeHandles.cs
- AcceptorSessionSymmetricMessageSecurityProtocol.cs
- DataReceivedEventArgs.cs
- OperatingSystem.cs
- SessionStateSection.cs
- GridViewEditEventArgs.cs
- HtmlGenericControl.cs
- PropertyItemInternal.cs
- DataGridViewColumnEventArgs.cs
- ProviderSettings.cs
- HttpChannelHelper.cs