ProjectInformation Class |
[This is preliminary documentation and is subject to change.]
Namespace: ModelExchanger.AnalysisDataModel
public sealed class ProjectInformation : StructuralAnalysisObjectBase, IAnalysisInformationObject, IAnalysisObject, IEquatable<ProjectInformation>
The ProjectInformation type exposes the following members.
Name | Description | |
---|---|---|
ProjectInformation |
Create a project
|
Name | Description | |
---|---|---|
BuildingType |
The use type of the building
| |
Created |
The date and time at which the model is created.
Defaults to current UTC time.
| |
Description |
The description of the project
| |
Id |
The ID of the Analysis object.
Needs to be unique within the entire model
(Inherited from StructuralAnalysisObjectBase.) | |
LastUpdate |
The date and time at which the model was last updated.
Defaults to current UTC time.
| |
Location |
The location of the building
| |
Name |
The name of the Analysis object.
Needs to be unique within it's type
(Inherited from StructuralAnalysisObjectBase.) | |
ProjectKind |
The kind of project
| |
ProjectNumber |
The number of the project
| |
ProjectType |
The type of project
| |
Status |
Status of the project
|
Name | Description | |
---|---|---|
Equals(Object) |
Check if this object is the same as the provided object.
(Overrides StructuralAnalysisObjectBaseEquals(Object).) | |
Equals(ProjectInformation) | Indicates whether the current object is equal to another object of the same type. | |
Equals(StructuralAnalysisObjectBase) |
Check if this object is the same as the provided object.
(Inherited from StructuralAnalysisObjectBase.) | |
GetHashCode |
Retrieves the hashcode of the object
(Overrides StructuralAnalysisObjectBaseGetHashCode.) |
Name | Description | |
---|---|---|
PropertyChanged | (Inherited from StructuralAnalysisObjectBase.) |
Name | Description | |
---|---|---|
ToObjectIdentifier |
Converts the provided IAnalysisObject into an AnalysisObjectIdentifier (Defined by IAnalysisObjectExtensions.) |
using System; using System.Collections.Generic; using ModelExchanger.AnalysisDataModel.Models; namespace ModelExchanger.AnalysisDataModel.Example.Other { public sealed class ProjectInformationExample : BaseExample<ProjectInformation> { protected override IReadOnlyCollection<ProjectInformation> CreateAnalysisObjects(AnalysisModel model) { return new[] { new ProjectInformation(Guid.NewGuid(), "My example project") { Description = "This is an example project", BuildingType = "Industrial", Location = "Some undisclosed location, in an undisclosed country", ProjectKind = "A special kind of project", ProjectNumber = "ABCD1289-9876_54321", ProjectType = "A special type of project", Status = "Pending", Created = new DateTime(2020, 1, 1, 9, 0, 0, DateTimeKind.Utc), LastUpdate = DateTime.UtcNow } }; } } }