Beispiel #1
0
 public Kit(ModuleSchema schema, ModuleData data, int defaultKitNumber) =>
 (Schema, Data, DefaultKitNumber, KitRoot) = (schema, data, defaultKitNumber, schema.KitRoots[1]);
Beispiel #2
0
 public Module(ModuleSchema schema, ModuleData data) =>
 (Schema, Data) = (schema, data);
Beispiel #3
0
 private static Lazy <ModuleSchema> CreateLazySchema(string resourceBase, string resourceName) =>
 new Lazy <ModuleSchema>(() => ModuleSchema.FromAssemblyResources(typeof(SchemaRegistry).Assembly, resourceBase, resourceName));