TimedMessageExtension AsTimedMessage T Method | Glimpse API Documentation |
Populates relevant properties on the source message.
Namespace: Glimpse.Core.MessageAssembly: Glimpse.Core (in Glimpse.Core.dll) Version: 1.0.1.0 (1.0.1)
Syntax
public static T AsTimedMessage<T>( this T message, TimerResult timerResult ) where T : ITimedMessage
public static T AsTimedMessage<T>( this T message, TimerResult timerResult ) where T : ITimedMessage
Parameters
- message
- Type: T
The message.
- timerResult
- Type: Glimpse.Core.Extensibility TimerResult
The timer result.
Type Parameters
- T
- The type of the message.
Return Value
The message with populated ITimedMessage properties.Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).See Also