/// <summary>Initialize the <see cref="RootBuildHandle"/> for all <see cref="EngineRegistry.Engines"/></summary> internal static void InitializeEngineBuildHandles() { foreach (var engine in EngineRegistry.Engines) { engine.RootBuildHandle = EngineBuildHandle.Create(EngineIdResolver(null, engine.Name)); } }
/// <summary>Initialize the <see cref="BranchHandle"/> and the handles for all <see cref="Revisions"/></summary> /// <param name="engineIndex"></param> /// <param name="branchIndex"></param> internal void InitializeBuildHandles(int engineIndex, int branchIndex) { BranchHandle = EngineBuildHandle.Create(engineIndex, branchIndex); foreach (var revisn in Revisions) { int revisn_index = RevisionIdResolver(this, revisn.Version); var handle = EngineBuildHandle.Create(engineIndex, branchIndex, revisn_index); revisn.InitializeBuildHandle(handle); } }