Пример #1
0
    private IEnumerator Start()
    {
        yield return(null);

        yield return(null);

        ServiceCache services = new ServiceCache();

        services.Process();

        services.Add(new SubsystemA());
        services.Add(new SubsystemB());
        services.Add(new SubsystemC());
        services.Add(new SubsystemD());
        services.Add(new SubsystemE());

        using (Profiling.Time("Processing Subsystem Init"))
        {
            services.Process();
        }

        services.ClearAll();
    }