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

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

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

            return(0);
        }