src/Orleans.Core.Abstractions/Runtime/RuntimeContext.cs
/// <summary>
/// Sets the current grain context.
/// </summary>
/// <param name="newContext">The new context.</param>
Sets the current grain context.
Sets the current grain context .
[MethodImpl(MethodImplOptions.AggressiveInlining)]
        internal static void SetExecutionContext(IGrainContext newContext)
        {
            _threadLocalContext = newContext;
        }
[ MethodImpl ( MethodImplOptions . AggressiveInlining ) ] internal static void SetExecutionContext ( IGrainContext newContext ) { _threadLocalContext = newContext ; }
Sets the current grain context.
Sets the current grain context .
newContext
IGrainContext
The new context.
The new context .