/// <summary> /// Maps methods from <c>ServerServiceDefinition</c> to server call handlers. /// </summary> internal static ReadOnlyDictionary <string, IServerCallHandler> GetCallHandlers(this ServerServiceDefinition serviceDefinition) { var binder = new DefaultServiceBinder(); serviceDefinition.BindService(binder); return(binder.GetCallHandlers()); }