Class SectionDatabase
Section database.
public class SectionDatabase
- Inheritance
-
SectionDatabase
- Inherited Members
- Extension Methods
Properties
ConvertId
public string ConvertId { get; set; }
Property Value
Country
public string Country { get; set; }
Property Value
End
public string End { get; set; }
Property Value
EndTime
public string EndTime { get; set; }
Property Value
FilePath
public string FilePath { get; set; }
Property Value
Guid
public string Guid { get; set; }
Property Value
Sections
public DatabaseSections Sections { get; set; }
Property Value
SourceSoftware
public string SourceSoftware { get; set; }
Property Value
Standard
public string Standard { get; set; }
Property Value
StartTime
public string StartTime { get; set; }
Property Value
StruxmlVersion
public string StruxmlVersion { get; set; }
Property Value
Xmlns
public string Xmlns { get; set; }
Property Value
Methods
AddNewSection(Section)
Add a section to this section database
public void AddNewSection(Section obj)
Parameters
objSection
ByType()
public (List<Section> steel, List<Section> concrete, List<Section> timber, List<Section> hollowCore, List<Section> custom) ByType()
Returns
- (List<Section> steel, List<Section> concrete, List<Section> timber, List<Section> hollowCore, List<Section> custom)
DeserializeStruxml(string)
Load a custom SectionDatabase from a .struxml file.
public static SectionDatabase DeserializeStruxml(string filePath)
Parameters
filePathstringFile path to .struxml file.
Returns
Remarks
Create
Empty()
public static SectionDatabase Empty()
Returns
GetDefault()
Load the default SectionDatabase.
public static SectionDatabase GetDefault()
Returns
Remarks
Create
SectionByName(string)
public Section SectionByName(string sectionName)
Parameters
sectionNamestring
Returns
SectionNames()
List the names of all Sections in SectionDatabase.
public List<string> SectionNames()
Returns
Remarks
Action
SerializeSectionDatabase(string)
Serialize section database to file
public void SerializeSectionDatabase(string filePath)
Parameters
filePathstring