static void Main(string[] args) { FirstComplexSystem firstComplexSystem = new FirstComplexSystem(); SecondComplexSystem secondComplexSystem = new SecondComplexSystem(); Facade facade = new Facade(firstComplexSystem, secondComplexSystem); facade.DoSomeImportantWork(); }
public Facade(FirstComplexSystem firstComplexSystem, SecondComplexSystem secondComplexSystem) { this.firstComplexSystem = firstComplexSystem; this.secondComplexSystem = secondComplexSystem; }