Esempio n. 1
0
 void IDisplay.Display(SceneContent sceneContent)
 {
     using (ImageDisplayContent imageDisplayContent = _imageDisplayContentFactory.Create(sceneContent)) // We request an instance and then dispose of it
     {
         _imageDisplayView.Display(imageDisplayContent);
     }
 }
 public void Visit(SceneContentDialogue sceneContentDialogue)
 {
     _imageDisplayContent = Create(sceneContentDialogue);
 }
Esempio n. 3
0
 public void Display(ImageDisplayContent imageContent)
 {
     Debug.Assert(imageContent != null);
     imageContent.Accept(this);
 }