Graphite.PlaintextMessage.PlaintextMessage C# (CSharp) Method

PlaintextMessage() public method

public PlaintextMessage ( string path, int value, System.DateTime timestamp ) : System
path string
value int
timestamp System.DateTime
return System
        public PlaintextMessage(string path, int value, DateTime timestamp)
        {
            if(path == null)
            {
                throw new ArgumentNullException("path");
            }

            Path = path;
            Value = value;
            Timestamp = timestamp.ToUnixTime();
        }