예제 #1
0
        GroupAcquireHandlingStage SetupAcquireHandlingStage()
        {
            var dataTransform = new GroupAcquireHandlingTransform()
            {
                Pipeline       = this,
                QueryBackend   = ModuleLoaderCore.instance.GetModule <MARSQueryBackend>(),
                WorkingIndices = Data.DefiniteMatchAcquireIndices
            };

            var indicesTransform = new ManageIndicesTransform()
            {
                WorkingIndices = Data.DefiniteMatchAcquireIndices,
                Input1         = Data.UpdatingIndices,
                Output         = Data.AcquiringIndices
            };

            var memberIndicesTransform = new ManageGroupIndicesTransform()
            {
                WorkingIndices = Data.DefiniteMatchAcquireIndices,
                Input2         = MemberData.UpdatingIndices,
                Output         = MemberData.AcquiringIndices
            };

            var stage = new GroupAcquireHandlingStage(dataTransform, indicesTransform, memberIndicesTransform);

            WireAcquireHandlingStage(stage);
            Stages.Add(stage);
            return(stage);
        }
        internal AcquireHandlingStage SetupAcquireHandlingStage()
        {
            var handlerTransform = new AcquireHandlingTransform
            {
                Pipeline       = this,
                QueryBackend   = ModuleLoaderCore.instance.GetModule <MARSQueryBackend>(),
                WorkingIndices = Data.DefiniteMatchAcquireIndices
            };

            var indicesTransform = new ManageIndicesTransform()
            {
                WorkingIndices = Data.DefiniteMatchAcquireIndices,
                Input1         = Data.UpdatingIndices,
                Output         = Data.AcquiringIndices
            };

            var stage = new AcquireHandlingStage(handlerTransform, indicesTransform);

            WireAcquireHandlingStage(stage);
            return(stage);
        }