Beispiel #1
0
        /// <summary>Initialize a 64-bit group tag attribute</summary>
        /// <param name="groupTag">Eight character code string</param>
        /// <param name="name">Name of this group tag</param>
        /// <param name="uuid"><see cref="Guid"/> for this group tag</param>
        public GroupTagData64Attribute(string groupTag, string name, string uuid)
        {
            Contract.Requires(!string.IsNullOrEmpty(groupTag));
            Contract.Requires(!string.IsNullOrEmpty(name));
            Contract.Requires(groupTag.Length == GroupTagData64.kExpectedTagLength);

            GroupTag = new GroupTagData64(groupTag, name, new KGuid(uuid));
        }
Beispiel #2
0
 /// <summary>
 /// Takes another eight character code and performs a check on it against this object's tag to see if they are completely equal</summary>
 /// <param name="other"></param>
 /// <returns>True if equal to this</returns>
 public override bool Test(char[] other) => GroupTagData64.Test(Tag, other);