public void ShouldGetTheName()
        {
            var dayOfWeek     = DayOfWeek.Sunday;
            var name          = "name";
            var dayOfWeekName = new DayOfWeekName(dayOfWeek, name);

            var result = dayOfWeekName.Name;

            Assert.AreEqual(name, result);
        }
Esempio n. 2
0
 internal void UpdateData(DayOfWeekName dayOfWeekName)
 {
     Text = dayOfWeekName.Name;
     VisualStateManager.GoToState(this, GetState(dayOfWeekName.DayOfWeek));
 }