Skip to content

Commit

Permalink
ajuste
Browse files Browse the repository at this point in the history
  • Loading branch information
yanjustino committed Mar 17, 2024
1 parent 60d1adb commit 4098c73
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/C4Sharp/Elements/ContainerType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ public enum ContainerType

[Description("Database")]
Database,

[Description("Pipeline")]
Pipeline,

[Description("")]
None
Expand Down
7 changes: 7 additions & 0 deletions src/C4Sharp/Elements/Containers/Pipeline.cs
Original file line number Diff line number Diff line change
@@ -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<T>(string Technology, string? Description = null)
: Container<T>(ContainerType.Pipeline, Technology, Description);

0 comments on commit 4098c73

Please sign in to comment.