public static Cache getCurrentUserCache(CswNbtResources Resources) { Cache Ret = new Cache(Resources); if (false == string.IsNullOrEmpty(Resources.CurrentNbtUser.CachedData)) { Ret = CswSerialize <Cache> .ToObject(Resources.CurrentNbtUser.CachedData); } return(Ret); }
public ReceivingBatchData(string ReceiptDefinitionStr) { _receiptDef = CswSerialize <CswNbtReceivingDefinition> .ToObject(ReceiptDefinitionStr); }