Пример #1
0
 private FragmentInfo[] GetFragments(FragmentInfo F, FragmentHandler Origin)
 {
     if (F.Fragment.SameOrigin)
     {
         return(Origin.GetOrdered(F.Fragment));
     }
     else
     {
         return(Origin.GetOrderedNoOrigin(F.Fragment, Fragments));
     }
 }
Пример #2
0
        public FragmentInfo Add(Fragment F, string MessageId)
        {
            FragmentInfo FI = null;

            if (F != null && !Fragments.Any(m => m.Fragment.Equals(F)))
            {
                Fragments.Add(FI = new FragmentInfo(F, MessageId));
                FI = (FragmentInfo)FI.Clone();
            }
            return(FI);
        }