コード例 #1
0
        private static async Task DoThings(IConfigurationSection appKeys, ILogger logger)
        {
            MicroBlogConfiguration.SetConfiguration(() => new MicroBlogConfiguration.MicroBlogOptions(appKeys["StorageAcc"], appKeys["NewArticleStore"], appKeys["NewArticleDetails"], appKeys["TagProcessing"], appKeys["TagStore"], appKeys["catQueue"], appKeys["catStore"]));
            var allOpts   = MicroBlogConfiguration.GetOptions();
            var cloudAcct = new CloudStorageContext(allOpts.StorageAccount);

            //await Stage1(cloudAcct, allOpts, logger);
            await Stage3(cloudAcct, allOpts, logger);
        }
コード例 #2
0
 public static MicroBlogConfiguration.MicroBlogOptions GetOptions()
 {
     return(MicroBlogConfiguration.GetOptions());
 }