Пример #1
0
 public void Explode(IExplodable Target)
 {
     if(Target is Order == false)
     {
         throw new ArgumentException();
     }
     this.Order = Target as Order;
     ExplodeContent();
   
 }
Пример #2
0
        public static Order GetFakeOrder(String Name = "9915240")
        {
            var Result = new Order();
            Result.Name = "9915240";

            (Result.Content as List<Element>).Add(new Element(ElementType.Block,"УЭ","8.815.240"));
            (Result.Content as List<Element>).Add(new Element(ElementType.Block, "УЭ", "7.715.240"));
            
            return Result;
        }
Пример #3
0
        public CalendarGraph(Order Order)
        {
            Clear();

            this.Order = Order;

            // To IoC
            var Exploder = new OrderExploder();

            this.Order.Explode(Exploder);

            ActiveElement.Content = this.Order.Content;
           /// OrderExplode();
          ///  CacheExpandResults();
        }
Пример #4
0
 public ElementExploder(Order Order)
 {
     this.Order = Order;
         
 }