Ejemplo n.º 1
0
 public ParentGuideRecord(TimeSpan from, TimeSpan to, ParentGuideAge age, ParentGuideType type)
 {
     this.From = from;
     this.To   = to;
     this.Age  = age;
     this.Type = type;
 }
        private string TypeToString(ParentGuideType type)
        {
            switch (type)
            {
            case ParentGuideType.Nudity:
                return("Nudity");

            case ParentGuideType.Profanity:
                return("Profanity");

            default:
                return("Violence");
            }
        }