CalendarAggregator.FeedRegistry.SerializeIcalStatsToJson C# (CSharp) Method

SerializeIcalStatsToJson() public method

public SerializeIcalStatsToJson ( ) : BlobStorageResponse
return ElmcityUtils.BlobStorageResponse
        public BlobStorageResponse SerializeIcalStatsToJson()
        {
            return Utils.SerializeObjectToJson(this.stats, containername, this.statsfile + ".json");
        }

Usage Example

コード例 #1
0
        public void SerializeStatsYieldsHttpCreated()
        {
            fr.stats[testurl].valid = testbool;
            fr.stats[testurl].score = testscore;
            var response = fr.SerializeIcalStatsToJson();

            Assert.AreEqual(HttpStatusCode.Created, response.HttpResponse.status);
        }
All Usage Examples Of CalendarAggregator.FeedRegistry::SerializeIcalStatsToJson