Event() public method

public Event ( string name ) : string
name string
return string
Example #1
0
        public void RaisingEventIsCorrect()
        {
            // Arrange
            var target = new StatsDMessageFormatter();

            // Act
            string actual = target.Event("foo");

            // Assert
            actual.ShouldEndWith("|c");
        }
 public void MarkEvent(string name)
 {
     _transport.Send(_formatter.Event(name));
 }
 public void MarkEvent(string name)
 {
     Send(_formatter.Event(name));
 }