Exemplo n.º 1
0
    public void InstallPodPart(PodPart part)
    {
        EnginePodPart engine = part as EnginePodPart;

        if (engine != null)
        {
            InstallEngine(engine);
        }

        InjectorPodPart injector = part as InjectorPodPart;

        if (injector != null)
        {
            InstallInjector(injector);
        }
    }
Exemplo n.º 2
0
 private void InstallInjector(InjectorPodPart injector)
 {
     this.injector = injector;
 }