Пример #1
0
        static Feed DeSerializeFeed(JsonValue value)
        {
            return(new Feed
            {
                Url = value.StringValue("url"),
                Id = value.StringValue("id"),
                Template = DeSerializeTemplate(value["template"]),
                FeedUrl = value.StringValue("feed_url"),
                BroadCast = value.BoolValue("broadcast"),
// ReSharper disable PossibleInvalidOperationException
                LastChecked = value.NullableDateValue("last_checked").Value
// ReSharper restore PossibleInvalidOperationException
            });
        }