Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- DataSourceCache.cs
- DataObjectAttribute.cs
- AncillaryOps.cs
- OutOfMemoryException.cs
- EastAsianLunisolarCalendar.cs
- AtomPub10CategoriesDocumentFormatter.cs
- RemotingConfigParser.cs
- SafeArrayRankMismatchException.cs
- Random.cs
- HtmlContainerControl.cs
- GridViewSortEventArgs.cs
- VectorAnimation.cs
- FormatConvertedBitmap.cs
- Bitmap.cs
- Processor.cs
- dsa.cs
- SchemaLookupTable.cs
- ContourSegment.cs
- LinkUtilities.cs
- ContractSearchPattern.cs
- KoreanLunisolarCalendar.cs
- FastPropertyAccessor.cs
- KeyFrames.cs
- ChangeConflicts.cs
- AccessText.cs
- HashMembershipCondition.cs
- BulletedListEventArgs.cs
- SpeechSynthesizer.cs
- QilIterator.cs
- FixedBufferAttribute.cs
- DataReaderContainer.cs
- SynchronizedCollection.cs
- XmlChildEnumerator.cs
- HyperLinkColumn.cs
- HideDisabledControlAdapter.cs
- SettingsBase.cs
- JsonCollectionDataContract.cs
- HandlerFactoryWrapper.cs
- sqlpipe.cs
- PackagePartCollection.cs
- UnsafeCollabNativeMethods.cs
- UrlPropertyAttribute.cs
- DbInsertCommandTree.cs
- CroppedBitmap.cs
- BufferedGraphicsContext.cs
- CodeDomLocalizationProvider.cs
- Help.cs
- Win32Native.cs
- RemoveStoryboard.cs
- KeyMatchBuilder.cs
- WmlValidatorAdapter.cs
- AutomationPropertyInfo.cs
- JsonEnumDataContract.cs
- DeflateInput.cs
- SafeEventLogWriteHandle.cs
- DateTimeConverter.cs
- clipboard.cs
- LabelLiteral.cs
- CryptographicAttribute.cs
- GuidelineSet.cs
- X509ImageLogo.cs
- XmlCharCheckingReader.cs
- IpcPort.cs
- LocatorPart.cs
- TransactionContextManager.cs
- RegexCompiler.cs
- StsCommunicationException.cs
- PlatformCulture.cs
- HttpServerVarsCollection.cs
- CustomAttributeBuilder.cs
- AsymmetricSignatureFormatter.cs
- TableParagraph.cs
- CoTaskMemSafeHandle.cs
- WeakReferenceEnumerator.cs
- RuleConditionDialog.Designer.cs
- ValidationHelpers.cs
- CodeMethodInvokeExpression.cs
- ProcessHostMapPath.cs
- Config.cs
- DataTableTypeConverter.cs
- DataGrid.cs
- DataSourceControl.cs
- RpcResponse.cs
- WebPartMinimizeVerb.cs
- EntityDataSourceStatementEditorForm.cs
- AuthorizationSection.cs
- ServiceContractAttribute.cs
- RtfToken.cs
- XslAst.cs
- ItemCheckEvent.cs
- SID.cs
- BinHexDecoder.cs
- ThrowHelper.cs
- XmlSchemaSimpleContentExtension.cs
- FileUpload.cs
- CreateUserWizard.cs
- DbReferenceCollection.cs
- GridErrorDlg.cs
- AbstractExpressions.cs
- AttributeQuery.cs