/// <inheritdoc/> public LinearMemory ImportMemory(ImportedMemory Description) { if (Description.FieldName == "memory") { return(new LinearMemory(new ResizableLimits(1, 2))); } else { return(null); } }
/// <inheritdoc/> public LinearMemory ImportMemory(ImportedMemory description) { if (moduleImporters.TryGetValue(description.ModuleName, out IImporter importer)) { return(importer.ImportMemory(description)); } else { return(null); } }
/// <inheritdoc/> public LinearMemory ImportMemory(ImportedMemory description) { if (Module.ExportedMemories.TryGetValue(description.FieldName, out LinearMemory result) && result.Limits.Initial >= description.Memory.Limits.Initial) { return(result); } else { return(null); } }
/// <inheritdoc/> public LinearMemory ImportMemory(ImportedMemory Description) { return(ImportOrDefault <LinearMemory>(Description, memDefDict)); }