/// <inheritdoc /> public async Task WriteMemberAsync(TContainingType obj, IWireStreamWriterStrategyAsync dest) { //Check if we should read if (!(bool)isReadWriteEnabledGetter.Getter(obj)) { return; } await DecoratedMediator.WriteMemberAsync(obj, dest) .ConfigureAwait(false); }
/// <inheritdoc /> public override Task WriteMemberAsync(TContainingType obj, IWireStreamWriterStrategyAsync dest) { return(DecoratedMediator.WriteMemberAsync(obj, new SkipSomeBytesWireStreamWriterStrategyDecoratorAsync(dest, SizeOfCollectionSizeType))); }
/// <inheritdoc /> public override Task WriteMemberAsync(TContainingType obj, IWireStreamWriterStrategyAsync dest) { WriteCollectionSizeToField(obj); return(DecoratedMediator.WriteMemberAsync(obj, dest)); }