Bridge_CesarCuandon.RefinedAbstraction.Operation C# (CSharp) Метод

Operation() публичный Метод

public Operation ( ) : void
Результат void
        public override void Operation()
        {
            implementor.Operation();
        }
    }

Usage Example

Пример #1
0
 static void Main()
 {
     Abstraction ab = new RefinedAbstraction();
     // Set implementation and call 
     ab.Implementor = new ConcreteImplementorA();
     ab.Operation();
     // Change implemention and call 
     ab.Implementor = new ConcreteImplementorB();
     ab.Operation();
     // Wait for user 
     Console.Read();
 }
All Usage Examples Of Bridge_CesarCuandon.RefinedAbstraction::Operation
RefinedAbstraction