예제 #1
0
        // Flush()
        public ResultCode Flush(ServiceCtx context)
        {
            try
            {
                _baseFile.Flush();
            }
            catch (HorizonResultException ex)
            {
                return((ResultCode)ex.ResultValue.Value);
            }

            return(ResultCode.Success);
        }
예제 #2
0
        // Flush()
        public long Flush(ServiceCtx context)
        {
            try
            {
                _baseFile.Flush();
            }
            catch (HorizonResultException ex)
            {
                return(ex.ResultValue.Value);
            }

            return(0);
        }
예제 #3
0
 // Flush()
 public ResultCode Flush(ServiceCtx context)
 {
     return((ResultCode)_baseFile.Flush().Value);
 }
예제 #4
0
        // Flush()
        public long Flush(ServiceCtx context)
        {
            _baseFile.Flush();

            return(0);
        }