Exemplo n.º 1
0
        private IBlueprintStorage GetBlueprintStorage(string name)
        {
            IBlueprint blueprint = new Blueprint()
            {
                Name = name
            };
            BlueprintRegistryItem registryItem = new BlueprintRegistryItem()
            {
                Id   = blueprint.Id,
                Name = name
            };

            registryItem.SetFilePath("./");
            return(new BlueprintStorage()
            {
                Id = blueprint.Id,
                Blueprint = blueprint,
                BlueprintRegistryItem = registryItem
            });
        }