コード例 #1
0
        T PipeContext.AddOrUpdatePayload <T>(PayloadFactory <T> addFactory, UpdatePayloadFactory <T> updateFactory)
        {
            if (_payloadCache != null)
            {
                return(_payloadCache.AddOrUpdatePayload(addFactory, updateFactory));
            }

            return(_context.AddOrUpdatePayload(addFactory, updateFactory));
        }
コード例 #2
0
 T PipeContext.AddOrUpdatePayload <T>(PayloadFactory <T> addFactory, UpdatePayloadFactory <T> updateFactory)
 {
     return(_context.AddOrUpdatePayload(addFactory, updateFactory));
 }