src/FingersDance.Data/Cutting.cs
author ymh
Thu, 24 Sep 2009 10:27:13 +0200
branchsyncsource
changeset 98 d20bbc845cb0
parent 69 a4c44555f205
child 143 9f157d9c725b
permissions -rw-r--r--
make progress on syncsource

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FingersDance.Data
{
    public class Cutting
    {
        private List<Annotation> _annotList;
        private string _title;

        public Cutting(string titlePar, List<Annotation> annotListPar)
        {
            this._title = titlePar;
            this._annotList = annotListPar;
            
        }

        public String Title
        {
            get { return _title; }
            set
            {
                if (value == _title || String.IsNullOrEmpty(value))
                    return;
                _title = value;
            }
        }
        public List<Annotation> AnnotList
        {
            get { return _annotList; }
            set
            {
                _annotList = value;
            }
        }

    }
}