public ResourceTransferValue(TransferManager transferManager, PartResourceDefinition resourceInfo, object transferTo, object transferFrom) { this.transferManager = transferManager; this.resourceInfo = resourceInfo; this.transferTo = transferTo; this.transferFrom = transferFrom; DetermineTypes(); InitializeSuffixes(); Status = TransferManager.TransferStatus.Inactive; // Last because the setter for Status prints some of the values calculated above to the log }
public ResourceTransferValue(TransferManager transferManager, PartResourceDefinition resourceInfo, object transferTo, object transferFrom, double amount) : this(transferManager, resourceInfo, transferTo, transferFrom) { this.amount = amount; }