Class ResultAnalysisBase
- Namespace
- ModelExchanger.AnalysisDataModel.Results
- Assembly
- ModelExchanger.AnalysisDataModel.dll
Base class for any kind of result
public abstract class ResultAnalysisBase : IResultAnalysisObject, IAnalysisObject, IHasIdName, IHasId, IHasName, IEquatable<ResultAnalysisBase>
- Inheritance
-
ResultAnalysisBase
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
ResultAnalysisBase()
Required for AutoMapper / reflection purposes
protected ResultAnalysisBase()
ResultAnalysisBase(StructuralLoadCase, StructuralLoadCombination)
protected ResultAnalysisBase(StructuralLoadCase loadCase, StructuralLoadCombination loadCombination)
Parameters
loadCaseStructuralLoadCaseloadCombinationStructuralLoadCombination
Properties
Id
The ID that uniquely identifies the result. Generated from Name
public Guid Id { get; }
Property Value
LoadCase
The load case to which the result belongs. When this is set, LoadCombination should be NULL.
public StructuralLoadCase LoadCase { get; }
Property Value
LoadCombination
The load combination to which the result belongs. When this is set, LoadCase should be NULL.
public StructuralLoadCombination LoadCombination { get; }
Property Value
Name
The (unique within its type) name of the object
public string Name { get; }
Property Value
NamePart
String that should be appended to the name generated by the base class
protected abstract string NamePart { get; }
Property Value
TypeOfResult
Defines the type of result
public abstract AnalysisResultType TypeOfResult { get; }
Property Value
Methods
Equals(ResultAnalysisBase)
Checks whether the provided result is equal to the current result
public bool Equals(ResultAnalysisBase other)
Parameters
otherResultAnalysisBaseThe other result to compare with
Returns
- bool
True if they are equal in value or same in object reference. False otherwise
Equals(object)
Checks whether the provided object is equal to the current instance
public override bool Equals(object obj)
Parameters
objobjectThe other object to compare with
Returns
- bool
True if the provided object is a result of the same type and they are equal in value or same in object reference. False otherwise
GetHashCode()
Calculates the hashcode of this instance
public override int GetHashCode()
Returns
- int
The hashcode of this instance