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