示例#1
0
        protected override Result DoFlush()
        {
            Result rc = BitmapStorage.Flush();

            if (rc.IsFailure())
            {
                return(rc);
            }

            rc = DataA.Flush();
            if (rc.IsFailure())
            {
                return(rc);
            }

            rc = DataB.Flush();
            if (rc.IsFailure())
            {
                return(rc);
            }

            return(Result.Success);
        }
示例#2
0
 public override void Flush()
 {
     BitmapStorage?.Flush();
     DataA?.Flush();
     DataB?.Flush();
 }
示例#3
0
 public override void Flush()
 {
     BitmapStream?.Flush();
     DataA?.Flush();
     DataB?.Flush();
 }