C# Client Library
A C# Client Library for the AnalyzeRe REST API

Represents the Analysis of a Layer More...
Public Member Functions  
LayerView ()  
Default Constructor More...  
LayerView (T layer, IReference< AnalysisProfile > analysis_profile, string target_currency)  
Construct a LayerView with all its modifiable properties. More...  
BackAllocations  back_allocations (string source_id) 
Returns a URL to the YELT of this view backallocated to some component loss source. More...  
CoMetrics  co_metrics< T > (ProbabilityWindow range, IReference< T > component, CoMetricsOptions options) 
Returns the cometrics of this view at a given probability. More...  
List< CoMetrics >  co_metrics< T > (IEnumerable< ProbabilityWindow > ranges, IReference< T > component, CoMetricsOptions options) 
Returns the cometrics of this view for a given probability. More...  
CoMetrics  co_metrics< T > (double probability, IReference< T > component, string filter=null, Perspective perspective=null, string currency=null, string component_filter=null, Perspective component_perspective=null, bool?include_primary_metrics=null, AggregationMethod?aggregation_method=null, bool?secondary_uncertainty=null) 
Obsolete.
Returns the cotailmetrics of this view for a given probability. More...  
List< CoMetrics >  co_metrics< T > (List< double > probabilities, IReference< T > component, string filter=null, Perspective perspective=null, string currency=null, string component_filter=null, Perspective component_perspective=null, bool?include_primary_metrics=null, AggregationMethod?aggregation_method=null, bool?secondary_uncertainty=null) 
Obsolete.
Returns the cotailmetrics of this view for a given probability. More...  
CoMetrics  co_metrics< T > (double probability, IReference< T > component, CoMetricsOptions options) 
Obsolete.
Returns the cotailmetrics of this view for a given probability range. More...  
List< CoMetrics >  co_metrics< T > (List< double > probabilities, IReference< T > component, CoMetricsOptions options) 
Obsolete.
Returns the cotailmetrics of this view for multiple probability ranges. More...  
ExceedanceProbability  exceedance_probability (double threshold, ExceedanceProbabilityOptions options) 
Returns the exceedance probability for this view for the given loss. That is, the probability the specified loss (threshold) is exceeded. More...  
List< ExceedanceProbability >  exceedance_probability (IEnumerable< double > thresholds, ExceedanceProbabilityOptions options) 
Returns the exceedance probability for this view for the given losses. That is, the probability the specified loss (threshold) is exceeded. More...  
ExceedanceProbability  exceedance_probability (double threshold, string filter=null, Perspective perspective=null, bool?inclusive_threshold=null, string threshold_currency=null, AggregationMethod?aggregation_method=null, bool?secondary_uncertainty=null) 
Obsolete.
Returns the exceedance probability for this view for the given loss. That is, the probability the specified loss (threshold) is exceeded. More...  
List< ExceedanceProbability >  exceedance_probability (List< double > thresholds, string filter=null, Perspective perspective=null, bool?inclusive_threshold=null, string threshold_currency=null, AggregationMethod?aggregation_method=null, bool?secondary_uncertainty=null) 
Obsolete.
Returns the exceedance probability for this view for the given losses. That is, the probability the specified loss (threshold) is exceeded. More...  
virtual T  ShallowCopy< T > () 
Create a shallow copy of this object.
for a serializerbased copy method. More...  
TailMetrics  tail_metrics (double probability, MetricsOptions options) 
Returns the tail metrics of this view at a given probability. More...  
List< TailMetrics >  tail_metrics (IEnumerable< double > probabilities, MetricsOptions options) 
Returns the tail metrics of this view at multiple probabilities. More...  
TailMetrics  tail_metrics (double probability, string filter=null, Perspective perspective=null, string currency=null, AggregationMethod?aggregation_method=null, bool?secondary_uncertainty=null) 
Obsolete.
Returns the tail metrics of this view for a given probability (and filter optionally). More...  
List< TailMetrics >  tail_metrics (List< double > probabilities, string filter=null, Perspective perspective=null, string currency=null, AggregationMethod?aggregation_method=null, bool?secondary_uncertainty=null) 
Obsolete.
Returns the tail metrics of this view for a given list of probabilities. More...  
WindowMetrics  window_metrics (ProbabilityWindow range, MetricsOptions options) 
Returns the window metrics of this view for a given probability range. More...  
List< WindowMetrics >  window_metrics (IEnumerable< ProbabilityWindow > ranges, MetricsOptions options) 
Returns the window metrics of this view for multiple probability ranges. More...  
Public Attributes  
override string  collection_name => CLASS_COLLECTION_NAME 
The collection endpoint at which resources of this type reside on the server. More...  
string  Path => API.GetResourcePath(this) 
The relative path to this endpoint from the root URL. More...  
YELTSimulationResult  yelt => _yelt ?? (_yelt = new YELTSimulationResult(this)) 
Allows retrieval of the YELT (Year Event Loss Table) associated with this view once it has been simulated. More...  
YLTSimulationResult  ylt => _ylt ?? (_ylt = new YLTSimulationResult(this)) 
Allows retrieval of the YLT (Year Loss Table) associated with this view once it has been simulated. More...  
Static Public Attributes  
static readonly string  CLASS_COLLECTION_NAME = LayerViews.CLASS_COLLECTION_NAME 
The collection endpoint at which resources of this type reside on the server. More...  
Protected Member Functions  
override void  AfterMembersCloned (APIType _) 
Invoked following construction if the current instance has been created using a memberwise clone of some other instance. Override if your derived APIType class contains some members that should not be cloned. More...  
Properties  
IReference< AnalysisProfile >  analysis_profile [get, set] 
The simulation's analysis profile. More...  
string  id [get, set] 
The resource's unique identifier. It will be used in the request URL when requesting the resource from the server. More...  
T  layer [get, set] 
The layer contained in this LayerView More...  
string  target_currency [get, set] 
The currency this view's YLTs are stored in, and the default currency results are returned in. If not specified, the server will automatically select a reasonable default currency based on the structure's terms. More...  
string  ylt_id [get, set] 
The hash identifier for the simulation results of this view. More...  
Represents the Analysis of a Layer
T  :  ILayer 
Definition at line 12 of file LayerView[T].cs.

inline 
Default Constructor
Definition at line 40 of file LayerView[T].cs.

inline 
Construct a LayerView with all its modifiable properties.
layer  The inner layer. 
analysis_profile  The analysis profile. 
target_currency  The target currency. 
Definition at line 46 of file LayerView[T].cs.

inlineprotectedvirtualinherited 
Invoked following construction if the current instance has been created using a memberwise clone of some other instance. Override if your derived APIType class contains some members that should not be cloned.
Reimplemented from AnalyzeRe.APIType.
Definition at line 248 of file BaseAPIResourceView.cs.

inlineinherited 
Returns a URL to the YELT of this view backallocated to some component loss source.
source_id  The id of the component loss source to backallocate the YELT to. 
Implements AnalyzeRe.IAPIResourceView.
Definition at line 237 of file BaseAPIResourceView.cs.

inlineinherited 
Returns the cometrics of this view at a given probability.
T  The type of the component referenced. 
range  The probability range at which to compute cometrics. 
component  A reference to the component LayerView or PortfolioView to compute cometrics against. 
options  A set of options which can be used to compute metrics net of various filters, loss perspectives, etc. 
TODO: Make options optional once deprecated methods are deleted
Implements AnalyzeRe.IAPIResourceView.
T  :  IAPIResourceView 
Definition at line 126 of file BaseAPIResourceView.cs.

inlineinherited 
Returns the cometrics of this view for a given probability.
T  The type of the component referenced. 
ranges  The probability ranges at which to compute cometrics. 
component  A reference to the component LayerView or PortfolioView to compute cometrics against. 
options  A set of options which can be used to compute metrics net of various filters, loss perspectives, etc. 
TODO: Make options optional once deprecated methods are deleted
Implements AnalyzeRe.IAPIResourceView.
T  :  IAPIResourceView 
Definition at line 143 of file BaseAPIResourceView.cs.

inlineinherited 
Obsolete.
Returns the cotailmetrics of this view for a given probability.
T  The type of the component referenced. 
probability  The probability (1 / return_period) at which to calculate the cotailmetrics. 
component  A reference to the component LayerView or PortfolioView to compute cotailmetrics against. 
filter  (Optional  Default: null) The name of the loss filter to apply before computing metrics. 
perspective  (Optional  Default: null) The loss perspective for which metrics should be computed. 
currency  (Optional  Default: null) The currency to convert cotailmetrics results to. If not specified, they will be returned in the view's target currency. 
component_filter  (Optional  Default: same as filter) The filter to use for the component co_metrics calculation. 
component_perspective  (Optional  Default: same as perspective) The perspective to use for the component co_metrics calculation. 
include_primary_metrics  (Optional  Default: false) Set to true to also compute and retrieve the primary metrics. 
aggregation_method  (Optional  Default: null) Specifies the method of aggregating event occurrences in a trial year for computing different types of metrics (AEP or OEP). 
secondary_uncertainty  (Optional  Default: null) Set to false to disable simulation with secondary uncertainty. 
Implements AnalyzeRe.IAPIResourceView.
T  :  IAPIResourceView 
Definition at line 430 of file BaseAPIResourceView.cs.

inlineinherited 
Obsolete.
Returns the cotailmetrics of this view for a given probability.
T  The type of the component referenced. 
probabilities  The probabilities at which to calculate the cotailmetrics. 
component  A reference to the component LayerView or PortfolioView to compute cotailmetrics against. 
filter  (Optional  Default: null) The name of the loss filter to apply before computing metrics. 
perspective  (Optional  Default: null) The loss perspective for which metrics should be computed. 
currency  (Optional  Default: null) The currency to convert cotailmetrics results to. If not specified, they will be returned in the view's target currency. 
component_filter  (Optional  Default: same as filter) The filter to use for the component co_metrics calculation. 
component_perspective  (Optional  Default: same as perspective) The perspective to use for the component co_metrics calculation. 
include_primary_metrics  (Optional  Default: false) Set to true to also compute and retrieve the primary metrics. 
aggregation_method  (Optional  Default: null) Specifies the method of aggregating event occurrences in a trial year for computing different types of metrics (AEP or OEP). 
secondary_uncertainty  (Optional  Default: null) Set to false to disable simulation with secondary uncertainty. 
Implements AnalyzeRe.IAPIResourceView.
T  :  IAPIResourceView 
Definition at line 476 of file BaseAPIResourceView.cs.

inlineinherited 
Obsolete.
Returns the cotailmetrics of this view for a given probability range.
T  The type of the component referenced. 
probability  The probability for which to compute cotailmetrics. 
component  A reference to the component LayerView or PortfolioView to compute cotailmetrics against. 
options  A set of options which can be used to compute metrics net of various filters, loss perspectives, etc. 
Implements AnalyzeRe.IAPIResourceView.
T  :  IAPIResourceView 
Definition at line 505 of file BaseAPIResourceView.cs.

inlineinherited 
Obsolete.
Returns the cotailmetrics of this view for multiple probability ranges.
T  The type of the component referenced. 
probabilities  The probabilities at which to compute cotailmetrics. 
component  A reference to the component LayerView or PortfolioView to compute cotailmetrics against. 
options  A set of options which can be used to compute metrics net of various filters, loss perspectives, etc. 
Implements AnalyzeRe.IAPIResourceView.
T  :  IAPIResourceView 
Definition at line 523 of file BaseAPIResourceView.cs.

inlineinherited 
Returns the exceedance probability for this view for the given loss. That is, the probability the specified loss (threshold) is exceeded.
threshold  The threshold at which to calculate the exceedance probability. 
options  A set of options which can be used to change the threshold behaviour or compute metrics net of various filters, loss perspectives, etc. 
TODO: Make options optional once deprecated methods are deleted
Implements AnalyzeRe.IAPIResourceView.
Definition at line 207 of file BaseAPIResourceView.cs.

inlineinherited 
Returns the exceedance probability for this view for the given losses. That is, the probability the specified loss (threshold) is exceeded.
thresholds  The thresholds at which to calculate the exceedance probability. 
options  A set of options which can be used to change the threshold behaviour or compute metrics net of various filters, loss perspectives, etc. 
TODO: Make options optional once deprecated methods are deleted
Implements AnalyzeRe.IAPIResourceView.
Definition at line 222 of file BaseAPIResourceView.cs.

inlineinherited 
Obsolete.
Returns the exceedance probability for this view for the given loss. That is, the probability the specified loss (threshold) is exceeded.
threshold  The threshold at which to calculate the exceedance probability. 
filter  (Optional  Default: null) The name of the loss filter to apply before computing metrics. 
perspective  (Optional  Default: null) The loss perspective for which metrics should be computed. 
inclusive_threshold  (Optional  Default: null) Set to true to calculate the probability that a loss is greater than OR EQUAL TO the threshold. 
threshold_currency  (Optional  Default: null) The currency that the threshold supplied is in. If not specified, the threshold is assumed to be in the target currency of this view. 
aggregation_method  (Optional  Default: null) Specifies the method of aggregating event occurrences in a trial year for computing different types of metrics (AEP or OEP). 
secondary_uncertainty  (Optional  Default: null) Set to false to disable simulation with secondary uncertainty. 
Implements AnalyzeRe.IAPIResourceView.
Definition at line 553 of file BaseAPIResourceView.cs.

inlineinherited 
Obsolete.
Returns the exceedance probability for this view for the given losses. That is, the probability the specified loss (threshold) is exceeded.
thresholds  The thresholds at which to calculate the exceedance probability. 
filter  (Optional  Default: null) The name of the loss filter to apply before computing metrics. 
perspective  (Optional  Default: null) The loss perspective for which metrics should be computed. 
inclusive_threshold  (Optional  Default: null) Set to true to calculate the probability that a loss is greater than OR EQUAL TO the threshold. 
threshold_currency  (Optional  Default: null) The currency that the threshold supplied is in. If not specified, the threshold is assumed to be in the target currency of this view. 
aggregation_method  (Optional  Default: null) Specifies the method of aggregating event occurrences in a trial year for computing different types of metrics (AEP or OEP). 
secondary_uncertainty  (Optional  Default: null) Set to false to disable simulation with secondary uncertainty. 
Implements AnalyzeRe.IAPIResourceView.
Definition at line 588 of file BaseAPIResourceView.cs.

inlinevirtualinherited 
Create a shallow copy of this object.
for a serializerbased copy method.
If this object contains any members that reference the current object (this), the class should override this method to avoid cloning a reference to the old class.
Implements AnalyzeRe.IAPIType.
T  :  IAPIType 
Definition at line 14 of file APIType.cs.

inlineinherited 
Returns the tail metrics of this view at a given probability.
probability  The probability at which to compute tail metrics. 
options  A set of options which can be used to compute metrics net of various filters, loss perspectives, etc. 
TODO: Make options optional once deprecated methods are deleted
Implements AnalyzeRe.IAPIResourceView.
Definition at line 66 of file BaseAPIResourceView.cs.

inlineinherited 
Returns the tail metrics of this view at multiple probabilities.
probabilities  The probabilities at which to compute tail metrics. 
options  A set of options which can be used to compute metrics net of various filters, loss perspectives, etc. 
TODO: Make options optional once deprecated methods are deleted
Implements AnalyzeRe.IAPIResourceView.
Definition at line 80 of file BaseAPIResourceView.cs.

inlineinherited 
Obsolete.
Returns the tail metrics of this view for a given probability (and filter optionally).
probability  The probability (1 / return_period) at which to calculate the tail metrics. 
filter  (Optional  Default: null) The name of the loss filter to apply before computing metrics. 
perspective  (Optional  Default: null) The loss perspective for which metrics should be computed. 
currency  (Optional  Default: null) The currency to convert tail_metrics results to. If not specified, they will be returned in the view's target currency. 
aggregation_method  (Optional  Default: null) Specifies the method of aggregating event occurrences in a trial year for computing different types of metrics (AEP or OEP). 
secondary_uncertainty  (Optional  Default: null) Set to false to disable simulation with secondary uncertainty. 
Implements AnalyzeRe.IAPIResourceView.
Definition at line 356 of file BaseAPIResourceView.cs.

inlineinherited 
Obsolete.
Returns the tail metrics of this view for a given list of probabilities.
probabilities  The probabilities at which to calculate the tail metrics. 
filter  (Optional  Default: null) The name of the loss filter to apply before computing metrics. 
perspective  (Optional  Default: null) The loss perspective for which metrics should be computed. 
currency  (Optional  Default: null) The currency to convert tail_metrics results to. If not specified, they will be returned in the view's target currency. 
aggregation_method  (Optional  Default: null) Specifies the method of aggregating event occurrences in a trial year for computing different types of metrics (AEP or OEP). 
secondary_uncertainty  (Optional  Default: null) Set to false to disable simulation with secondary uncertainty. 
Implements AnalyzeRe.IAPIResourceView.
Definition at line 388 of file BaseAPIResourceView.cs.

inlineinherited 
Returns the window metrics of this view for a given probability range.
range  The probability range for which to compute window metrics. 
options  A set of options which can be used to compute metrics net of various filters, loss perspectives, etc. 
TODO: Make options optional once deprecated methods are deleted
Implements AnalyzeRe.IAPIResourceView.
Definition at line 95 of file BaseAPIResourceView.cs.

inlineinherited 
Returns the window metrics of this view for multiple probability ranges.
ranges  The probability ranges for which to compute window metrics. 
options  A set of options which can be used to compute metrics net of various filters, loss perspectives, etc. 
TODO: Make options optional once deprecated methods are deleted
Implements AnalyzeRe.IAPIResourceView.
Definition at line 108 of file BaseAPIResourceView.cs.

static 
The collection endpoint at which resources of this type reside on the server.
Definition at line 16 of file LayerView[T].cs.
override string AnalyzeRe.LayerView< T >.collection_name => CLASS_COLLECTION_NAME 
The collection endpoint at which resources of this type reside on the server.
Definition at line 20 of file LayerView[T].cs.

inherited 
The relative path to this endpoint from the root URL.
System.ArgumentException  If this resource does not have an id. 
Definition at line 27 of file APIResource.cs.

inherited 
Allows retrieval of the YELT (Year Event Loss Table) associated with this view once it has been simulated.
Definition at line 55 of file BaseAPIResourceView.cs.

inherited 
Allows retrieval of the YLT (Year Loss Table) associated with this view once it has been simulated.
Definition at line 50 of file BaseAPIResourceView.cs.

getsetinherited 
The simulation's analysis profile.
Definition at line 33 of file BaseAPIResourceView.cs.

getsetinherited 
The resource's unique identifier. It will be used in the request URL when requesting the resource from the server.
Definition at line 16 of file APIResource.cs.

getset 
The layer contained in this LayerView
Definition at line 36 of file LayerView[T].cs.

getsetinherited 
The currency this view's YLTs are stored in, and the default currency results are returned in. If not specified, the server will automatically select a reasonable default currency based on the structure's terms.
Definition at line 45 of file BaseAPIResourceView.cs.

getsetinherited 
The hash identifier for the simulation results of this view.
Definition at line 38 of file BaseAPIResourceView.cs.