Graphite.PlaintextMessage.PlaintextMessage C# (CSharp) Méthode

PlaintextMessage() public méthode

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

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