The 'Implementor' abstract class
예제 #1
0
 public Abstraction()
 {
     this.implementor = Implementation.GetImplementation();
 }
예제 #2
0
 public RefinedAbstraction(Implementor implementor)
     : base(implementor)
 {
 }
예제 #3
0
 public ConcreteAbstraction(Implementor implementor) : base(implementor)
 {
 }
예제 #4
0
 public override void Operation() => Implementor.Method();
예제 #5
0
 public Abstraction(Implementor imp) => this.imp = imp;
예제 #6
0
 protected Abstraction(Implementor implementor)
 {
     this.implementor = implementor;
 }
예제 #7
0
 public void SetImplementor(Implementor implementor)
 {
     this.implementor = implementor;
 }
예제 #8
0
        protected Implementor impl; //定义实现类接口对象

        public void SetImpl(Implementor impl)
        {
            this.impl = impl;
        }
예제 #9
0
 public Abstraction(Implementor imp)
 {
     implementor = imp;
 }
예제 #10
0
 public RefinedAbstractionY(Implementor implementor) : base(implementor)
 {
     Debug.Log(" RefinedAbstractionY ");
 }
예제 #11
0
 public Abstraction(Implementor implementor)
 {
     this.implementor = implementor;
 }