public void PerformTask() { if (realObj == null) { realObj = new RealObject(); } realObj.PerformTask(); }