Exemplo n.º 1
0
        protected override IEnumerable <byte[]> GetItems()
        {
            yield return(RuleId.ToByteArray());

            yield return(BitConverter.GetBytes(Tag));

            yield return(KeyId.ToByteArray());

            yield return(Encoding.UTF8.GetBytes(Condition));

            yield return(BitConverter.GetBytes((int)Action));

            yield return(OwnerId.ToByteArray());
        }