public static global::System.Object Deserializer(global::System.Type expected, global::Orleans.Serialization.BinaryTokenStreamReader stream) { global::FSM.BankAccount.Domain.Amount result = (global::FSM.BankAccount.Domain.Amount)global::System.Runtime.Serialization.FormatterServices.@GetUninitializedObject(typeof(global::FSM.BankAccount.Domain.Amount)); global::Orleans.@Serialization.@DeserializationContext.@Current.@RecordObject(result); setField0(result, (global::System.Decimal)global::Orleans.Serialization.SerializationManager.@DeserializeInner(typeof(global::System.Decimal), stream)); return((global::FSM.BankAccount.Domain.Amount)result); }
public static global::System.Object DeepCopier(global::System.Object original) { global::FSM.BankAccount.Domain.Amount input = ((global::FSM.BankAccount.Domain.Amount)original); global::FSM.BankAccount.Domain.Amount result = (global::FSM.BankAccount.Domain.Amount)global::System.Runtime.Serialization.FormatterServices.@GetUninitializedObject(typeof(global::FSM.BankAccount.Domain.Amount)); setField0(result, getField0(input)); global::Orleans.@Serialization.@SerializationContext.@Current.@RecordObject(original, result); return(result); }
public global::System.Threading.Tasks.Task <global::FSM.BankAccount.Orleans.BankAccountData> @Withdrawal(global::FSM.BankAccount.Domain.Amount @amount) { return(base.@InvokeMethodAsync <global::FSM.BankAccount.Orleans.BankAccountData>(-1427812547, new global::System.Object[] { @amount })); }
public global::System.Threading.Tasks.Task <global::FSM.BankAccount.Orleans.BankAccountData> @Deposit(global::FSM.BankAccount.Domain.Amount @amount) { return(base.@InvokeMethodAsync <global::FSM.BankAccount.Orleans.BankAccountData>(-894876866, new global::System.Object[] { @amount })); }
public static void Serializer(global::System.Object untypedInput, global::Orleans.Serialization.BinaryTokenStreamWriter stream, global::System.Type expected) { global::FSM.BankAccount.Domain.Amount input = (global::FSM.BankAccount.Domain.Amount)untypedInput; global::Orleans.Serialization.SerializationManager.@SerializeInner(getField0(input), stream, typeof(global::System.Decimal)); }