The next generation of the Teknik Services. Written in ASP.NET.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
699 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Teknik.Configuration;
namespace Teknik.StorageService
public static class StorageServiceFactory
public static StorageService GetStorageService(StorageConfig config)
switch (config.Type)
case StorageType.InMemory:
return new MemoryStorageService(config);
case StorageType.Local:
return new LocalStorageService(config);
case StorageType.S3:
return null;