File tree Expand file tree Collapse file tree 3 files changed +15
-14
lines changed Expand file tree Collapse file tree 3 files changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -36,13 +36,13 @@ public class BluebeamObject : IBHoMObject
36
36
[ XmlIgnore ]
37
37
public virtual Guid BHoM_Guid { get ; set ; } = Guid . NewGuid ( ) ;
38
38
[ XmlIgnore ]
39
- public virtual Dictionary < string , object > CustomData { get ; set ; }
39
+ public virtual Dictionary < string , object > CustomData { get ; set ; } = new Dictionary < string , object > ( ) ;
40
40
[ XmlIgnore ]
41
- public virtual string Name { get ; set ; }
41
+ public virtual string Name { get ; set ; } = "" ;
42
42
[ XmlIgnore ]
43
- public virtual FragmentSet Fragments { get ; set ; }
43
+ public virtual FragmentSet Fragments { get ; set ; } = new FragmentSet ( ) ;
44
44
[ XmlIgnore ]
45
- public virtual HashSet < string > Tags { get ; set ; }
45
+ public virtual HashSet < string > Tags { get ; set ; } = new HashSet < string > ( ) ;
46
46
}
47
47
}
48
48
Original file line number Diff line number Diff line change @@ -34,15 +34,15 @@ namespace BH.oM.XML.CSProject
34
34
public class CSProjectObject : IBHoMObject
35
35
{
36
36
[ XmlIgnore ]
37
- public virtual Guid BHoM_Guid { get ; set ; }
37
+ public virtual Guid BHoM_Guid { get ; set ; } = Guid . NewGuid ( ) ;
38
38
[ XmlIgnore ]
39
- public virtual Dictionary < string , object > CustomData { get ; set ; }
39
+ public virtual Dictionary < string , object > CustomData { get ; set ; } = new Dictionary < string , object > ( ) ;
40
40
[ XmlIgnore ]
41
- public virtual string Name { get ; set ; }
41
+ public virtual string Name { get ; set ; } = "" ;
42
42
[ XmlIgnore ]
43
- public virtual FragmentSet Fragments { get ; set ; }
43
+ public virtual FragmentSet Fragments { get ; set ; } = new FragmentSet ( ) ;
44
44
[ XmlIgnore ]
45
- public virtual HashSet < string > Tags { get ; set ; }
45
+ public virtual HashSet < string > Tags { get ; set ; } = new HashSet < string > ( ) ;
46
46
}
47
47
}
48
48
Original file line number Diff line number Diff line change @@ -34,15 +34,16 @@ namespace BH.oM.XML.EnergyPlus
34
34
public class EnergyPlusObject : IBHoMObject
35
35
{
36
36
[ XmlIgnore ]
37
- public virtual Guid BHoM_Guid { get ; set ; }
37
+ public virtual Guid BHoM_Guid { get ; set ; } = Guid . NewGuid ( ) ;
38
38
[ XmlIgnore ]
39
- public virtual Dictionary < string , object > CustomData { get ; set ; }
39
+ public virtual Dictionary < string , object > CustomData { get ; set ; } = new Dictionary < string , object > ( ) ;
40
40
[ XmlIgnore ]
41
- public virtual string Name { get ; set ; }
41
+ public virtual string Name { get ; set ; } = "" ;
42
42
[ XmlIgnore ]
43
- public virtual FragmentSet Fragments { get ; set ; }
43
+ public virtual FragmentSet Fragments { get ; set ; } = new FragmentSet ( ) ;
44
44
[ XmlIgnore ]
45
- public virtual HashSet < string > Tags { get ; set ; }
45
+ public virtual HashSet < string > Tags { get ; set ; } = new HashSet < string > ( ) ;
46
+
46
47
}
47
48
}
48
49
You can’t perform that action at this time.
0 commit comments