Example #1
0
        /// <summary>
        /// Factor method to create an object of this class from a byte list
        /// </summary>
        /// <param name="bytes">A byte list from which the distributable object will be decoded</param>
        /// <returns>A new object of this class</returns>
        new public static AgentInfo Create(ByteList bytes)
        {
            AgentInfo result = new AgentInfo();

            result.Decode(bytes);
            return(result);
        }
 /// <summary>
 /// Factor method to create an object of this class from a byte list
 /// </summary>
 /// <param name="bytes">A byte list from which the distributable object will be decoded</param>
 /// <returns>A new object of this class</returns>
 public static new AgentInfo Create(ByteList bytes)
 {
     AgentInfo result = new AgentInfo();
     result.Decode(bytes);
     return result;
 }