Beispiel #1
0
        public TodoQueryElement ToElement(int remainingCount)
        {
            var element = new TodoQueryElement
            {
                Id             = Id,
                Name           = Name,
                Query          = this,
                RemainingCount = remainingCount
            };

            return(element);
        }
Beispiel #2
0
        public void UpdateFrom(TodoQueryElement fromElement)
        {
            base.UpdateFrom(fromElement);

            // nothing to update other than in base class
        }