42 instantiations of RepeatBehavior
PresentationCore (4)
PresentationCore.Tests (36)
System\Windows\Media\Animation\RepeatBehavior.Tests.cs (36)
19Assert.Throws<ArgumentOutOfRangeException>(() => new RepeatBehavior(count));
29RepeatBehavior behavior = new RepeatBehavior(count);
37RepeatBehavior behavior = new RepeatBehavior(1.0);
46RepeatBehavior behavior = new RepeatBehavior(1.0);
55Assert.Throws<ArgumentOutOfRangeException>(() => new RepeatBehavior(duration));
71RepeatBehavior behavior = new RepeatBehavior(duration);
89RepeatBehavior behavior = new RepeatBehavior(TimeSpan.FromSeconds(1));
98RepeatBehavior behavior = new RepeatBehavior(TimeSpan.FromSeconds(1));
153yield return new object[] { new RepeatBehavior(1.0), new RepeatBehavior(1.0), true };
154yield return new object[] { new RepeatBehavior(1111.1), new RepeatBehavior(1111.1), true };
157yield return new object[] { new RepeatBehavior(1111.0), new RepeatBehavior(1112.0), false };
158yield return new object[] { new RepeatBehavior(0.0), new RepeatBehavior(8888.2), false };
161yield return new object[] { new RepeatBehavior(TimeSpan.FromSeconds(1)), new RepeatBehavior(TimeSpan.FromSeconds(1)), true };
162yield return new object[] { new RepeatBehavior(TimeSpan.FromDays(3)), new RepeatBehavior(TimeSpan.FromDays(3)), true };
163yield return new object[] { new RepeatBehavior(TimeSpan.FromSeconds(1111)), new RepeatBehavior(TimeSpan.FromSeconds(1111)), true };
166yield return new object[] { new RepeatBehavior(TimeSpan.FromSeconds(1111)), new RepeatBehavior(TimeSpan.FromSeconds(1112)), false };
167yield return new object[] { new RepeatBehavior(TimeSpan.FromSeconds(0)), new RepeatBehavior(TimeSpan.FromSeconds(8888)), false };
168yield return new object[] { new RepeatBehavior(TimeSpan.FromDays(5)), new RepeatBehavior(TimeSpan.FromDays(7)), false };
171yield return new object[] { new RepeatBehavior(1), new RepeatBehavior(TimeSpan.FromSeconds(1)), false };
172yield return new object[] { new RepeatBehavior(1111), new RepeatBehavior(TimeSpan.FromSeconds(1112)), false };
178yield return new object[] { RepeatBehavior.Forever, new RepeatBehavior(TimeSpan.FromSeconds(1112)), false };
179yield return new object[] { RepeatBehavior.Forever, new RepeatBehavior(1112), false };
182yield return new object[] { RepeatBehavior.Forever, new RepeatBehavior(TimeSpan.Zero), false };
183yield return new object[] { RepeatBehavior.Forever, new RepeatBehavior(0.0), false };
PresentationFramework (2)
67 references to RepeatBehavior
PresentationCore (30)
PresentationCore.Tests (22)
System\Windows\Media\Animation\RepeatBehavior.Tests.cs (22)
29RepeatBehavior behavior = new RepeatBehavior(count);
37RepeatBehavior behavior = new RepeatBehavior(1.0);
46RepeatBehavior behavior = new RepeatBehavior(1.0);
71RepeatBehavior behavior = new RepeatBehavior(duration);
89RepeatBehavior behavior = new RepeatBehavior(TimeSpan.FromSeconds(1));
98RepeatBehavior behavior = new RepeatBehavior(TimeSpan.FromSeconds(1));
106RepeatBehavior behavior = RepeatBehavior.Forever;
115RepeatBehavior behavior = RepeatBehavior.Forever;
124RepeatBehavior behavior1 = RepeatBehavior.Forever;
125RepeatBehavior behavior2 = RepeatBehavior.Forever;
132public void Compare_Instance_Value_Equals(RepeatBehavior behavior1, RepeatBehavior behavior2, bool outcome)
175yield return new object[] { RepeatBehavior.Forever, RepeatBehavior.Forever, true };
178yield return new object[] { RepeatBehavior.Forever, new RepeatBehavior(TimeSpan.FromSeconds(1112)), false };
179yield return new object[] { RepeatBehavior.Forever, new RepeatBehavior(1112), false };
182yield return new object[] { RepeatBehavior.Forever, new RepeatBehavior(TimeSpan.Zero), false };
183yield return new object[] { RepeatBehavior.Forever, new RepeatBehavior(0.0), false };
PresentationFramework (5)
PresentationFramework.Aero (3)
PresentationFramework.Aero2 (3)
PresentationFramework.AeroLite (1)
PresentationFramework.Classic (1)
PresentationFramework.Luna (1)
PresentationFramework.Royale (1)