Example #1
0
        public Task <Schematic> CreateSchematicAsync(Schematic schematic, string forkedFrom, CancellationToken cancellationToken)
        {
            Schematics.Add(schematic.SchematicName, schematic);

            var machineRecord = Schematics[schematic.SchematicName];

            return(Task.FromResult(machineRecord));
        }
Example #2
0
 public void InsertSchematic(Schematic schematic)
 {
     Schematics.Add(schematic);
 }