Beispiel #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);
        }
Beispiel #2
0
 public override void Flush()
 {
     BitmapStorage?.Flush();
     DataA?.Flush();
     DataB?.Flush();
 }