PureCat.Message.Internals.DefaultTaggedTransaction.HasChildren C# (CSharp) 메소드

HasChildren() 공개 메소드

public HasChildren ( ) : bool
리턴 bool
        public bool HasChildren()
        {
            return _mChildren != null && _mChildren.Count > 0;
        }

Usage Example

예제 #1
0
            private void MarkAsRunAway(ITransaction parent, DefaultTaggedTransaction transaction)
            {
                if (!transaction.HasChildren())
                {
                    transaction.AddData("RunAway");
                }

                transaction.Status = PureCatConstants.SUCCESS;
                transaction.Standalone = true;
                transaction.Complete();
            }