public byte[] Serialize <T>(T data) =>
 _dataTransform.Apply(_baseProvider.Serialize(data));
Exemplo n.º 2
0
 public static Cysharp.Threading.Tasks.UniTask <byte[]> ApplyFakeAsync(this IDataTransformSync dataTransform,
                                                                       byte[] data) =>
 Cysharp.Threading.Tasks.UniTask.FromResult <byte[]>(dataTransform.Apply(data));
Exemplo n.º 3
0
 public static System.Threading.Tasks.Task <byte[]> ApplyFakeAsync(this IDataTransformSync dataTransform,
                                                                   byte[] data) =>
 System.Threading.Tasks.Task.FromResult <byte[]>(dataTransform.Apply(data));
 public byte[] Apply(byte[] data) =>
 _secondTransform.Apply(_firstTransform.Apply(data));