Skip to content

Commit 8a6d475

Browse files
authored
Adding Property setters for conda component to enable deserialization from JSON file (#13)
1 parent e04e592 commit 8a6d475

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

src/Microsoft.ComponentDetection.Contracts/TypedComponent/CondaComponent.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,21 @@ public CondaComponent(string name, string version, string build, string channel,
1919
MD5 = md5;
2020
}
2121

22-
public string Build { get; }
22+
public string Build { get; set; }
2323

24-
public string Channel { get; }
24+
public string Channel { get; set; }
2525

26-
public string Name { get; }
26+
public string Name { get; set; }
2727

28-
public string Namespace { get; }
28+
public string Namespace { get; set; }
2929

30-
public string Subdir { get; }
30+
public string Subdir { get; set; }
3131

32-
public string Version { get; }
32+
public string Version { get; set; }
3333

34-
public string Url { get; }
34+
public string Url { get; set; }
3535

36-
public string MD5 { get; }
36+
public string MD5 { get; set; }
3737

3838
public override ComponentType Type => ComponentType.Conda;
3939

0 commit comments

Comments
 (0)