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
- SqlCacheDependency.cs
- WindowsIPAddress.cs
- Context.cs
- ModifiableIteratorCollection.cs
- DataListItemEventArgs.cs
- Dump.cs
- Wildcard.cs
- SHA256.cs
- CommandEventArgs.cs
- Vector3DCollectionValueSerializer.cs
- CreateCardRequest.cs
- Int32Animation.cs
- HtmlEmptyTagControlBuilder.cs
- BindingContext.cs
- InternalDispatchObject.cs
- RangeValidator.cs
- Rect3D.cs
- WinEventQueueItem.cs
- AutomationElement.cs
- ZoneLinkButton.cs
- WebPartMenu.cs
- BitConverter.cs
- StagingAreaInputItem.cs
- CorrelationHandle.cs
- TreeViewBindingsEditor.cs
- CompilerParameters.cs
- InputManager.cs
- GZipDecoder.cs
- SmtpDigestAuthenticationModule.cs
- AssociationEndMember.cs
- TypeUtils.cs
- CodeTypeConstructor.cs
- Pipe.cs
- nulltextnavigator.cs
- OverrideMode.cs
- DiagnosticStrings.cs
- AsymmetricSignatureDeformatter.cs
- CustomExpressionEventArgs.cs
- SpeechSynthesizer.cs
- BamlResourceContent.cs
- SQLConvert.cs
- DataControlPagerLinkButton.cs
- SmiEventSink.cs
- DSGeneratorProblem.cs
- DescriptionAttribute.cs
- TraceListener.cs
- SizeChangedInfo.cs
- XmlHierarchicalEnumerable.cs
- CharacterBufferReference.cs
- Funcletizer.cs
- PropertyExpression.cs
- RepeaterItem.cs
- SrgsOneOf.cs
- ToolboxComponentsCreatedEventArgs.cs
- ImageUrlEditor.cs
- TemplateXamlParser.cs
- Label.cs
- DataError.cs
- SqlCachedBuffer.cs
- Expander.cs
- XmlSchemaSimpleType.cs
- InkCanvasAutomationPeer.cs
- SafePipeHandle.cs
- DocumentViewerAutomationPeer.cs
- storepermission.cs
- RuleElement.cs
- ContainerUIElement3D.cs
- RepeatButton.cs
- ObjectConverter.cs
- GradientSpreadMethodValidation.cs
- CrossAppDomainChannel.cs
- TraceRecord.cs
- WebPartsSection.cs
- ConcurrencyMode.cs
- TableCell.cs
- Directory.cs
- ServiceHostFactory.cs
- AspCompat.cs
- EdmSchemaAttribute.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- ExpressionSelection.cs
- NetTcpSectionData.cs
- IncrementalReadDecoders.cs
- ReflectEventDescriptor.cs
- contentDescriptor.cs
- XmlSchemas.cs
- ColorInterpolationModeValidation.cs
- XmlException.cs
- ArrayMergeHelper.cs
- BaseTemplateParser.cs
- ReachFixedPageSerializer.cs
- MobileRedirect.cs
- Enum.cs
- ContentPlaceHolder.cs
- HttpCookiesSection.cs
- ZipPackage.cs
- SafeRightsManagementEnvironmentHandle.cs
- KerberosSecurityTokenAuthenticator.cs
- CalculatedColumn.cs
- ConnectionConsumerAttribute.cs