* Move all [non-nested] classes/structs into own files * Sort members * Fix naming convention violations * Use new lang feats * Run formatter
8 lines
300 B
C#
8 lines
300 B
C#
namespace mbts.co2 {
|
|
static class NativePriceSizeExtensions {
|
|
public static NativePriceSize with(
|
|
this NativePriceSize nps, uint? direct_size = null, uint? implied_size = null) =>
|
|
new(nps.int_price, direct_size ?? nps.direct_size, implied_size ?? nps.implied_size);
|
|
}
|
|
}
|