From 4098c7351955db4d334e74524fdb7f11a698e98f Mon Sep 17 00:00:00 2001 From: yanjustino Date: Sat, 16 Mar 2024 22:14:57 -0300 Subject: [PATCH] ajuste --- src/C4Sharp/Elements/ContainerType.cs | 3 +++ src/C4Sharp/Elements/Containers/Pipeline.cs | 7 +++++++ 2 files changed, 10 insertions(+) create mode 100644 src/C4Sharp/Elements/Containers/Pipeline.cs diff --git a/src/C4Sharp/Elements/ContainerType.cs b/src/C4Sharp/Elements/ContainerType.cs index cbfba1a..5115763 100644 --- a/src/C4Sharp/Elements/ContainerType.cs +++ b/src/C4Sharp/Elements/ContainerType.cs @@ -48,6 +48,9 @@ public enum ContainerType [Description("Database")] Database, + + [Description("Pipeline")] + Pipeline, [Description("")] None diff --git a/src/C4Sharp/Elements/Containers/Pipeline.cs b/src/C4Sharp/Elements/Containers/Pipeline.cs new file mode 100644 index 0000000..6366efa --- /dev/null +++ b/src/C4Sharp/Elements/Containers/Pipeline.cs @@ -0,0 +1,7 @@ +namespace C4Sharp.Elements.Containers; + +public record Pipeline(string Alias, string Label, string Technology, string? Description = null) + : Container(Alias, Label, ContainerType.Pipeline, Technology, Description); + +public record Pipeline(string Technology, string? Description = null) + : Container(ContainerType.Pipeline, Technology, Description); \ No newline at end of file