Table of Contents

Class CalculationMethods

Namespace
The.Components
Assembly
Instagile.dll

Provides calculation methods for computed properties on entities.

public static class CalculationMethods
Inheritance
CalculationMethods
Inherited Members

Methods

GetIJobRunIsFailed(IJobRun)

[CalculationDependency(new string[] { "FinishedOn" })]
[CalculationDependency(new string[] { "ErrorDetail" })]
public static bool GetIJobRunIsFailed(IJobRun entity)

Parameters

entity IJobRun

Returns

bool

GetIJobRunIsInProgress(IJobRun)

[CalculationDependency(new string[] { "FinishedOn" })]
public static bool GetIJobRunIsInProgress(IJobRun entity)

Parameters

entity IJobRun

Returns

bool

GetIJobRunIsSuccessful(IJobRun)

[CalculationDependency(new string[] { "FinishedOn" })]
[CalculationDependency(new string[] { "ErrorDetail" })]
public static bool GetIJobRunIsSuccessful(IJobRun entity)

Parameters

entity IJobRun

Returns

bool

GetIScrambledSpreadsheetTextAsync(IScrambledSpreadsheet)

[CalculationDependency(new string[] { "Source" })]
[CalculationDependency(new string[] { "DateGenerated" })]
public static Task<string> GetIScrambledSpreadsheetTextAsync(IScrambledSpreadsheet entity)

Parameters

entity IScrambledSpreadsheet

Returns

Task<string>

GetISpreadsheetColumnIndex(ISpreadsheetColumn)

[CalculationDependency(new string[] { "SpreadsheetIndex" })]
public static int? GetISpreadsheetColumnIndex(ISpreadsheetColumn entity)

Parameters

entity ISpreadsheetColumn

Returns

int?

GetISpreadsheetTextAsync(ISpreadsheet)

[CalculationDependency(new string[] { "File" })]
public static Task<string> GetISpreadsheetTextAsync(ISpreadsheet entity)

Parameters

entity ISpreadsheet

Returns

Task<string>