Пример #1
0
 public static void Attribute(RenderTreeFrame frame, string attributeName, Action <object> attributeValidator, int?sequence = null)
 {
     AssertFrame.Attribute(frame, attributeName, sequence);
     attributeValidator(frame.AttributeValue);
 }
Пример #2
0
 public static void Attribute(RenderTreeFrame frame, string attributeName, object attributeValue, int?sequence = null)
 {
     AssertFrame.Attribute(frame, attributeName, sequence);
     Assert.Equal(attributeValue, frame.AttributeValue);
 }
Пример #3
0
 public static void Attribute(RenderTreeFrame frame, string attributeName, Type valueType, int?sequence = null)
 {
     AssertFrame.Attribute(frame, attributeName, sequence);
     Assert.IsType(valueType, frame.AttributeValue);
 }
Пример #4
0
 public static void Attribute(RenderTreeFrame frame, string attributeName, Action <UIEventArgs> attributeEventHandlerValue, int?sequence = null)
 {
     AssertFrame.Attribute(frame, attributeName, sequence);
     Assert.Equal(attributeEventHandlerValue, frame.AttributeValue);
 }