using Connected.Services; namespace Connected.ServiceModel.Client.Net; internal sealed class SelectUrl : ServiceFunction { private const string Root = "https://localhost:61599";//"https://connected.tompit.com"; protected override async Task OnInvoke() { await Task.CompletedTask; return Arguments.Kind switch { ConnectedUrlKind.Root => Root, ConnectedUrlKind.FileSystem => $"{Root}/services/fileSystem", ConnectedUrlKind.TableStorage => $"{Root}/services/tables", _ => throw new NotImplementedException(), }; } }