public EnvironmentHandler(string bucketName, string bucketRegionString, string postsDirectory, string imagesDirectory, string metaDirectory) { Instance = new EnvironmentHandler(); Instance.BucketName = bucketName; Instance.BucketRegionString = bucketRegionString; Instance.PostsDirectory = postsDirectory; Instance.ImagesDirectory = imagesDirectory; Instance.MetaDirectory = metaDirectory; }
public static EnvironmentHandler GetEnvironmentHandler() { if (Instance != null) { return(Instance); } else { Instance = new EnvironmentHandler(); return(Instance); } }