This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var accountName = Properties.Settings.Default.StorageAccountName; | |
var accountKey = Properties.Settings.Default.AccessKey; | |
var containerName = Properties.Settings.Default.ContainerName; | |
var blobName = Properties.Settings.Default.Blob; | |
var credentials = new StorageCredentials(accountName, accountKey); | |
var account = new CloudStorageAccount(credentials, useHttps: true); | |
var client = account.CreateCloudBlobClient(); | |
var container = client.GetContainerReference(containerName); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Diagnostics; | |
namespace SunriseCalculator | |
{ | |
public class SolarInfo | |
{ | |
public double SolarDeclination { get; private set; } | |
public TimeSpan EquationOfTime { get; private set; } | |
public DateTime Sunrise { get; private set; } |