Пример #1
0
        public override object Clone()
        {
            PizzaData cloneResult = new PizzaData();

            FillClone(cloneResult);
            return(cloneResult);
        }
Пример #2
0
        public override void FillClone(OPSObject cloneO)
        {
            base.FillClone(cloneO);
            PizzaData cloneResult = (PizzaData)cloneO;

            cloneResult.cheese      = this.cheese;
            cloneResult.tomatoSauce = this.tomatoSauce;
        }
Пример #3
0
 public PizzaDataSubscriber(Topic t) : base(t)
 {
     CheckTypeString(PizzaData.GetTypeName());
 }
Пример #4
0
 public void Write(PizzaData o)
 {
     base.Write(o);
 }
Пример #5
0
 public PizzaDataPublisher(Topic t) : base(t)
 {
     CheckTypeString(PizzaData.GetTypeName());
 }
Пример #6
0
 public void Write(PizzaData o)
 {
     base.Write(o);
 }
Пример #7
0
 public override object Clone()
 {
     PizzaData cloneResult = new PizzaData();
     FillClone(cloneResult);
     return cloneResult;
 }