Esempio n. 1
0
 /// <summary>
 /// Creates an instance of <see cref="Statistics"/> with specified name and value.
 /// </summary>
 /// <param name="name">Name of the <see cref="Statistics"/> object to be created</param>
 /// <param name="value">value to be assigned to the newly crated <see cref="Statistics"/> object</param>
 public Statistics(string name, T value)
     : this(name)
 {
     _value     = value;
     _formatter = null;
 }
Esempio n. 2
0
 /// <summary>
 /// Creates an instance of <see cref="Statistics"/> with specified name.
 /// </summary>
 /// <param name="name">Name of the <see cref="Statistics"/> object to be created</param>
 public Statistics(string name)
 {
     _name      = name;
     _formatter = null;
 }