Exemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="CallContext"/> class for a server call handler.
        /// </summary>
        /// <param name="serverCallContext">The context for a server-side call.</param>
        public CallContext(ServerCallContext serverCallContext)
        {
            serverCallContext.AssertNotNull(nameof(serverCallContext));

            ServerCallContext = serverCallContext;
        }