Exemplo n.º 1
0
 public void Explode(IExplodable Target)
 {
     if(Target is Order == false)
     {
         throw new ArgumentException();
     }
     this.Order = Target as Order;
     ExplodeContent();
   
 }
Exemplo n.º 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;
        }
Exemplo n.º 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();
        }
Exemplo n.º 4
0
 public ElementExploder(Order Order)
 {
     this.Order = Order;
         
 }