public override JunctionStateItem Visit(IPassiveJunction entity, object data)
 {
     return(new PassiveJunctionStateItem(entity));
 }
 public override VCItem Visit(IPassiveJunction entity, bool data)
 {
     return(new PassiveJunctionItem(entity, context));
 }
 /// <summary>
 /// Add the given item to this set
 /// </summary>
 public void Add(IPassiveJunction item)
 {
     Add(new PassiveJunctionWithState((PassiveJunction)item));
 }
 /// <summary>
 /// Default ctor
 /// </summary>
 public PassiveJunctionStateItem(IPassiveJunction junction)
     : base(junction)
 {
 }
Exemple #5
0
 public virtual TReturn Visit(IPassiveJunction entity, TData data)
 {
     return(Visit((IJunction)entity, data));
 }
 public override VCItem Visit(IPassiveJunction entity, IEntityState data)
 {
     return(new PassiveJunctionItem(entity, (IPassiveJunctionState)data, context));
 }
 public override object Visit(IPassiveJunction entity, GridContext data)
 {
     return(new PassiveJunctionSettings(entity, data));
 }
 /// <summary>
 /// Default ctor
 /// </summary>
 public PassiveJunctionItem(IPassiveJunction entity, IPassiveJunctionState state, ItemContext context)
     : base(entity, context)
 {
 }
 public override IEntityState Visit(IPassiveJunction entity, RailwayState data)
 {
     return(new PassiveJunctionState(entity, data));
 }