示例#1
0
 /// <summary>
 ///   Initializes a new instance of the <see cref="ActionBase"/> class.
 /// </summary>
 /// <param name="other">The other.</param>
 protected ActionBase(ActionBase other)
 {
     NameId      = other.NameId;
     _collection = other._collection;
     Cooldown    = other.Cooldown;
 }
示例#2
0
 /// <summary>
 ///   Initializes a new instance of the <see cref="ActionBase{TContext}"/> class.
 /// </summary>
 /// <param name="other">The other.</param>
 protected ActionBase(ActionBase <TContext> other)
 {
     NameId      = other.NameId;
     Cooldown    = other.Cooldown;
     _collection = other._collection;
 }