Table of Contents

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

loadCase StructuralLoadCase
loadCombination StructuralLoadCombination

Properties

Id

The ID that uniquely identifies the result. Generated from Name

public Guid Id { get; }

Property Value

Guid

LoadCase

The load case to which the result belongs. When this is set, LoadCombination should be NULL.

public StructuralLoadCase LoadCase { get; }

Property Value

StructuralLoadCase

LoadCombination

The load combination to which the result belongs. When this is set, LoadCase should be NULL.

public StructuralLoadCombination LoadCombination { get; }

Property Value

StructuralLoadCombination

Name

The (unique within its type) name of the object

public string Name { get; }

Property Value

string

NamePart

String that should be appended to the name generated by the base class

protected abstract string NamePart { get; }

Property Value

string

TypeOfResult

Defines the type of result

public abstract AnalysisResultType TypeOfResult { get; }

Property Value

AnalysisResultType

Methods

Equals(ResultAnalysisBase)

Checks whether the provided result is equal to the current result

public bool Equals(ResultAnalysisBase other)

Parameters

other ResultAnalysisBase

The 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

obj object

The 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