C# Client Library
A C# Client Library for the AnalyzeRe REST API
|
▼NAnalyzeRe | |
►NAnalyses | |
CAnalysis | Represents the metadata for a DataAgent analysis entity imported from a vendor |
CVendorPortfolioAnalysis | Represents the metadata for a VendorPortfolioAnalysis entity imported from a vendor |
CVendorTreatyAnalysis | Represents the metadata for a VendorTreatyAnalysis entity imported from a vendor |
►NAPIResourceView | |
CBaseAPIResourceView | PortfolioView and LayerView abstract base class |
CSimulationResult | Defines a new SimulationResult endpoint off the current resource |
CTargetCurrencyDefault | Attribute used to define the default value assigned to the target_currency property by the server when this property is left null |
CYELTSimulationResult | A pass-through to the yelt endpoint for configuring and downloading a per-trial simulation result from the analytics engine |
CYLTSimulationResult | A pass-through to the ylt endpoint for configuring and downloading a per-trial simulation result from the analytics engine |
►NAPITypes | |
CAPIResource_WithDataEndpoint | Minor extension to the base APIResource class that adds a "/data" sub-resource, since this is common to several resources |
CAPIType_Polymorphic | Base class used by all types and resources |
CCommandSubResource | Describes a command sub-resource available off a resource which can be POSTed to with no data to invoke some sort of action |
CDataSubResource | Describes an additional data sub-resource available off a resource. Endpoint supports GET and PUT |
CIAPI_Polymorphic | Interface for polymorphic types on the server |
CIAPIAnalysis | Interface for resources that reference an analysis profile |
CIAPIResource_WithDataEndpoint | Describes an APIResource class that adds a "/data" sub-resource, since this functionality is common to several different resources. TODO: Make this a mix-in if C# ever supports mix-ins or something similar |
CIEndpoint | Describes an endpoint on the server that can be interacted with. Inheriting from this interface means you can return some relative path (off a base API URL) at which the endpoint can be visited |
CIResourceCollection | Describes a collection of resources which can be listed |
CIStoredAPIResource | Interface for Base class used by all stored resources |
CIStoredAPIResource_WithStatus | Describes an APIResource class that has a "status" property and corresponding "status_message" which is used to monitor whether the resource has been validated server_side and is ready to be used |
CLargeDataSubResource | Describes an endpoint off of some types of resources from which an associated "large data file" can be accessed. This is a standard endpoint that exists for all of IAPIResource_WithDataEndpoint resource types which surfaces a standard set of large file upload functionality. This endpoint supports GET and PUT, as well as chunked large data upload using POST and PATCH |
COptionsResponse | Used to deserialize server OPTIONS response |
CReference | Implements the basic reference entity interface, but has no support for resolving references |
CResourceCollection | Describes a collection of resources which can be listed |
CServerError | Used to deserialize server error messages |
CStoredAPIResource | Base class used by all persistent resources |
CStoredAPIResource_Polymorphic | Stored resource that is polymorphic (has more than one sub-type) |
CStoredAPIResource_WithStatus | Base class for a StoredAPIResource that has a "status" property and corresponding "status_message" which is used to monitor whether the resource has been validated server_side and is ready to be used |
CSubResource | Describes an additional sub-resource available off a resource which is not actually a property of that resource. Allows APIResources to quickly define additional endpoints off their URLs which in turn support GET |
CSubResourceCollection | Describes a collection of resources available off another resource. Allows APIResources to quickly define additional endpoints off their URLs which in turn support list operations |
CSubResourceEndpoint | Describes an additional sub-resource available off a resource which is not actually a property of that resource. Allows APIResources to quickly define additional endpoints off their URLs which in turn support one or more REST methods |
►NAttributes | |
CAPITypeAliasAttribute | Specifies the name of the type on the API if it differs from the class name - used for serializing and deserializing |
CGreaterThanAttribute | Specifies that the property with this attribute should be greater than the specified amount |
CInternalMemberAttribute | This attribute is used on IAPIType classes to indicate members (especially public properties) that exist primarily for internal use and generally aren't useful or relevant to end-user consumers of the object |
CLessThanAttribute | Specifies that the property with this attribute should be less than the specified amount |
CNotEmptyAttribute | Specifies that the enumerable property with this attribute cannot be empty when POSTing the resource to the server. Should only be used on properties whose type derives from IEnumerable |
CNotNullAttribute | Specifies that the property with this attribute cannot be null when POSTing the resource to the server. Should only be used on properties whose type is normally nullable |
CNotSaveableAttribute | Indicates that while the current APIResource-derived class can be constructed and potentially inlined within other resources, it cannot be POSTed (saved) to any collection on its own |
CNumericValidationAttribute | Any attribute that can validate the value of a property |
CPropertyAlias | Specifies one or more aliases to be used as synonyms for the property's name |
CServerGenerated | Specifies that a property is generated by the server and should not be specified on the client side during a POST or PUT |
CServerHasDefault | Indicates that the property, if left null, will have a default value generated and filled in by the server |
CServerHasDefaultEmptyObject | Indicates that the property, if left null, will be given a default value by the server corresponding to an empty or uninitialized object of the specified type |
CValidationAttribute | Any attribute that can validate the value of a property |
►NAuthentication | |
CBasicAuthenticationToken | An AccessToken storing basic authentication information for requests made to the server |
CIAccessToken | An AccessToken storing authentication information for requests made to the server |
COauthAccessToken | An AccessToken storing OAuth authentication information for requests made to the server |
►NDistributions | |
CBinomialDistribution | Describes a Binomial Discrete Distribution |
CCustomDistribution | Custom Distribution that allows the user to upload CSV data. Can be treated as a Discrete or Continuous distribution |
CCustomFrequencyDistribution | Custom Distribution that describes a parametric loss set's frequency |
CCustomSeasonalityDistribution | Custom Distribution that describes a parametric loss set's seasonality |
CCustomSeverityDistribution | Custom Distribution that describes a parametric loss set's severity |
CDiracDistribution | Describes a distribution that always returns the same value. This distribution can be used as either a discrete or a continuous distribution |
CIContinuousDistribution | Represents any distribution that is continuous. With a continuous probability distribution, the probability that a random variable will assume a particular value is zero. As such, these distributions cannot be expressed in tabular form and must be described by an equation |
CIDiscreteDistribution | Represents any distribution that is discrete. With a discrete probability distribution, each possible value of a random variable can be associated with a non-zero probability, and can always be presented in tabular form |
CIDistribution | A distribution of values, used for parametric loss sets |
CLogNormalDistribution | Describes a LogNormal Continuous Distribution |
CNegativeBinomialDistribution | Describes a NegativeBinomial Discrete Distribution |
CNormalDistribution | Describes a Normal Continuous Distribution |
CParetoDistribution | Describes a Pareto Probability Distribution |
CPoissonDistribution | Describes a Poisson Discrete Distribution |
CUniformDistribution | Describes a Continuous Uniform Distribution, also known as a rectangular distribution, which is a probability distribution that has constant probability |
CUniformIntDistribution | Describes a Discrete Uniform Distribution, also known as a rectangular distribution, which is a probability distribution that has constant probability |
►NExchangeRates | |
CExchangeRateDateRule | A rule indicating that the exchange rate from the specified date should be used |
CExchangeRateLatestRule | A rule indicating that the latest available exchange rate should be used |
CExchangeRateProfile | A profile describing how to apply exchange rates during an analysis |
CExchangeRateSelectionRule | A rule indicating how exchange rates should be chosen |
►CExchangeRateTable | A table containing exchange rate information |
►CCurrenciesEndpointResponse | An object representation of the ExchangeRateTable.currencies endpoint response |
CCurrencyInformation | The information provided by the server about each currency. Currently only the currency "code" is returned |
►NFees | |
CFee | Abstract representation of a fee. This resource type cannot be instantiated instead derived resource types should be used for instantiation |
CFeeReference | Represents a reference, used in Fee objects |
CFixedExpense | The Fixed Expense Fee applies the payout amount to all trials |
CProfitCommission | The Profit Commission applies a fee that is the sum of the premium sources minus the sum of loss and fee sources, all multiplied by the rate |
CProportionalExpense | The Proportional Expense applies a fee that is the rate multiplied by the sum of premium sources |
►NJsonConverters | |
CAnalyzeReJsonConverter | A pre-configured RestSharp serializer / deserializer which is made to support parsing of AnalyzeRe API JSON strings, including complex objects such as derived resources, references, URIs and DateTimes |
CAnalyzeReSerializationContractResolver | A custom property contract resolver which allows Server-Generated Analyze Re properties (ServerGenerated) to be ignored on serialization |
CCachedContractResolver | A wrapper for the basic DefaultContractResolver which caches the set of members to be serialized for a given base type, speeding up subsequent calls, and also provides an interface for filtering members (caching that result as well) |
CComplexNestedObjectConverter | Ensure that when converting arbitrary dictionaries, nested dictionaries are correctly converted as well |
CDerivedResourceCreationConverter | Allows serializing and deserializing derived Analyze Re Resources to a target base type. (For instance deserializing a CatXL object to a base Layer object reference) |
CJsonCreationConverter | Json converter helper class |
CJsonSerializerExtensionMethods | Extension Methods to help with copying JsonSerializer settings |
CLayerViewCreationConverter | Allows serializing and deserializing derived AnalyzeRe Resource Views to a target base type. (For instance deserializing a LayerView json object containing a CatXL layer to a LayerView{CatXL}) |
CPerspectiveConverter | Converts JSON string representations of Perspective to an instance |
CPortfolioViewSerializer | Allows serializing and deserializing PortfolioViews, which require a special rule since they can only include a portfolio reference or a list of layer_views, but not both on post |
CReferenceConverter | Deserializes AnalyzeRe API Reference objects to a new instance of a the target generic Reference type, and Serializes Reference objects too |
CRespectIgnoreDataMemberResolver | Properties tagged with the framework IgnoreDataMemberAttribute should be ignored by the serializers. Due to a (perceived) issue in Newtonsoft JSON (Submitted here: https://github.com/JamesNK/Newtonsoft.Json/issues/943), we would need to use their own JsonIgnoreAttribute to effectively ignore a property. This contract resolver aims to correct that by adding support for the framework attribute |
CUriConverter | Converts JSON string representations of URLs to and from System.Uri instances |
►NLargeDataUpload | |
CAdaptiveBufferedBytesProducer | Produces BufferedByte objects of a variable size depending on whether the consumer of this buffer is blocked waiting on it for more data |
CAsyncParameters | Parameters to be used in a Large Upload operation |
CBinaryYELTConverter | Converts a YELT CSV data into a specified format |
CBufferedBytes | The structure containing an array of bytes and integer indicating the number of bytes in the array that were read from the stream |
CBufferedBytesFromStreamProducer | Produces a BlockingCollection of buffered bytes asynchronously which can be consumed on some other thread |
CBufferedBytesResizer | Produces a BlockingCollection of buffered bytes asynchronously which can be consumed on some other thread |
►CBufferedBytesToStringProducer | Converts buffered bytes to strings |
CStringWithByteCount | A tuple containing a string and its UTF8 bytes count |
CBufferProducerException | Indicates that an exception occurred inside of a buffered producer thread |
CCommitFailedException | Exception raised when the commit process fails |
CGZipBufferedBytesProducer | Converts buffered bytes to strings |
CIProducerConsumerBuffer | Interface for a class that consumes from a source asynchronously and produces a queue of some other resource to be consumed |
CParameters | Parameters to be used in a Large Data Upload operation |
CProducerConsumerBuffer | Base class that consumes from a source asynchronously and produces a queue of some other resource to be consumed |
CStatusResponse | Indicates the status of a data endpoint |
CUploadInProgressException | Indicates that a large upload could not take place because an existing large upload session is already in progress |
CUtilities | Large Data Upload Utilities |
►NLayers | |
CAggregateQuotaShare | Representation of a Quota Share contract that is limited in annual payouts |
CAggXL | Representation of an Aggregate Catastrophe Excess of Loss layer |
CBackAllocatedLayer | Acts as a replacement for IAPIResourceView.back_allocations. Computes the proportion of some sink structure whose net losses should be attributed to the specified source. This is done on a per-event-occurrence basis, so the result is a new YELT. As such, this Back-Allocated structure can be used like any other layer when simulated |
CCatXL | Representation of a Catastrophe Excess of Loss (CatXL) layer |
►CDelayedPayment | A "delayed payment" payment pattern models claims being paid in instalments at fixed delays after the claim occurred |
CPayment | Describes a single payment, which consists of a delay and fracational amount |
CFilter | Filter is like a layer whose 'terms' are to filter events out of the loss sources. By referencing some loss sets filters, the result is that only the losses that meet the criteria of the filters are emitted |
CFixedDatePayment | A "delayed payment" payment pattern models claims being paid in instalments at specific dates following the date of occurrence |
CFixedRateCurrencyConverter | A structure that can be used to change the currency of a loss stream from one currency to another at a fixed rate. Loss sets can be converted from one currency to another directly using this structure. Other layers whose losses are output in a currency that needs to be converted at a fixed rate can also be converted by using this structure as the sink of a NestedLayer. This is a unique structure that cannot be saved to the layers endpoint, it can only be inlined within a LayerView |
CGeneric | Representation of an Aggregate Catastrophe Excess of Loss layer with reinstatements |
CILayer_WithAggregateTerms | Abstract representation of a layer that has occurrence terms |
CILayer_WithLossSets | Abstract representation of a layer with terms |
CILayer_WithOccurrenceTerms | Abstract representation of a layer that has occurrence terms |
CILayer_WithReinstatements | Abstract representation of a layer with terms |
CILayer_WithTerms | Abstract representation of a layer with terms |
CIndustryLossWarranty | Representation of an Industry Loss Warranty, which is a layer that triggers a payout (currently expressed as a negative loss) when a specified loss trigger amount is reached on a single event occurrence |
CLayer_WithLossSets | Abstract representation of a layer. This resource type cannot be instantiated instead derived resource types should be used for instantiation |
CLayer_WithTerms | Abstract representation of a layer. This resource type cannot be instantiated instead derived resource types should be used for instantiation |
CLayer_XL | Abstract representation of a base Excess of Loss layer |
CLossRank | The LossRank layer allows one to select a subset of occurrences in a trial year based on the relative loss amount (rank) of the occurrences |
►CNested | Allows one or more source layers or layer_views to be attached as loss sources to some other layer definition (sink), producing a new layer |
CSources | A wrapper for a List<T> of IReference<ILayerSource> references that simplifies the construction and use of a set of nested sources references |
CNoClaimsBonus | The No Claims Bonus applies a payout to trials which contain no losses. (i.e. when there are no occurrences, or when the sum of all trial losses is less than or equal to zero) |
CPolicy | Layer Policy is the rule on RecordType that determines how occurrences belonging to a particular RecordType are treated by the layer. The user can use layer policy to control the individual record type’s behavior within a layer |
CQuotaShare | Representation of a Quota Share contract |
CReinstatement | Represents a reinstatement premium and brokerage amount |
CSurplusShare | Representation of a Surplus Share contract |
CValueAllocator | Surfaces the value-allocator specialty structure (which is treated as a "layer definition" by the API). Similar to the Nested layer construct, this structure can reference other layers or layer_views and manipulate their losses in a specific way. The resulting net losses to this structure represent a proportional allocation (multiplication) of the source structures' losses, using the ratio of the "Target" (target) to "Group" (group) structures' loss for each event loss occurrence |
►NLossFilters | |
CAndFilter | A filter consisting of a list of filters, all of which have to be satisfied |
CAnyFilter | Matches all losses (always returns true) |
CAnyOfFilter | A filter consisting of an attribute and a list of accepted values for that attribute |
CAttributeFilter | A filter that does a test on some attribute |
CComparisonFilter | A filter where the specified attribute's value is compared to some predetermined value |
CExpressionFilter | A filter that operates on a list of filters |
CGTFilter | A filter where the specified attribute must have a numeric value that is greater than a specified value |
CLTFilter | A filter where the specified attribute must have a numeric value that is less than a specified value |
COrFilter | A filter consisting of a list of filters, any of which have to be satisfied |
CRangeFilter | A filter where the specified attribute must have a numeric value that is within the specified range of values |
CRecordTypeAnyOfFilter | A filter consisting of an attribute and a list of accepted values for that attribute |
►NLossSets | |
CELTLossSet | Representation of a single loss set with an associated event loss table |
CILossSet | Base Interface for all loss sets |
CILossSet_Simulated | An interface for pre-simulated loss sets some data associated with them, some hard-coded seasonality assumptions (hence a start_date), some hard-coded trial_count and optionally some pre-simulated reinstatement information if it is net loss set data |
CILossSet_WithData | Combines the interfaces for a loss set and a resource with a data endpoint |
CILossSet_WithEventCatalog | Base for all conventional loss sets, which generate losses, have a server-generated loss profile, and require a currency to be specified |
CILossSet_WithSeasonality | Shared interface with loss sets that have seasonality considerations |
CLoadedLossSet | Representation of a Loaded loss set, whose losses are derived from an existing loss set and applies a load |
CLossSet_WithCurrency | Base for all conventional loss sets, which generate losses, have a server-generated loss profile, and require a currency to be specified |
CLossSet_WithData | Base for all loss sets for which pre-generated loss data must be uploaded |
CLossSetProfile | A profile of this loss set, containing server generated meta data about its contents |
CNestedLayerLossSet | Representation of a Nested layer loss set, which represents any loss set whose losses are derived from an existing layer |
CParametricLossSet | Representation of a Parametric loss set |
CPortfolioLossSet | Representation of a PortfolioLossSet |
CQCLSLossSet | The Quantile-Based Correlated Loss Sampling (QCLS) loss set is a simulated parametric loss set which employs Cholesky decomposition. This loss set allows any continuous distribution to be supplied as a severity curve and have these losses mapped to a modelled set of events and sampled according to that model (usually based on the industry level of severity for an event) |
►CTreatyLossSet | Representation of a TreatyLossSet |
CTreaty | Custom TreatyLossSet treaty reference type |
CYELTLossSet | Representation of a loss set with an associated year-event-loss table |
CYLTLossSet | Representation of a loss set with an associated simulated yearly losses table |
►NMetrics | |
CAggregationOptions | Optional parameters which can be specified for all aggregated simulation result requests |
CBackAllocations | The structure returned when requesting back-allocated metrics for a view |
►CCoMetrics | The structure returned when requesting Co-Metrics for a view |
CContext | The context of a co-metrics request, indicating what parameters were used in the simulation that produced the associated metrics response |
CCoMetricsOptions | Optional parameters which can be specified for co-metrics requests |
CConditionalDistributionMetrics | The metrics computed from a distribution filtered by some conditions. For example, in the co-tail-metrics response, this is the distribution of losses from the component that are also part of the tail distribution of the primary |
CContext | The common components of the context returned from any metrics request, indicating what parameters were used in the simulation that produced the associated metrics response |
►CExceedanceProbability | The structure returned when requesting Exceedance Probability for a view |
CContext | The context of a tail metrics request, indicating what parameters were used in the simulation that produced the associated metrics response |
CExceedanceProbabilityOptions | Optional parameters which can be specified for exceedance probability requests |
CIMetricsResponse | A shared interface for metrics responses that dictate their metrics be accompanied by some context object |
CMetricsOptions | Optional parameters which can be specified for all metrics requests |
CReportingPeriod | A reporting period which dictates optional begin and end dates to constrain what event losses are included in the distribution based on their occurrence date and time (sequence) |
CSimulationOptions | Optional parameters which can be specified for all simulation result requests. Includes a variety of methods which make it easy to construct, copy, and compare request parameters, as well as convert them to a RequestParameters instance |
CTailDistributionMetrics | The structure returned when requesting Tail Metrics for a view |
►CTailMetrics | The structure returned when requesting Tail Metrics for a view |
CContext | The context of a tail metrics request, indicating what parameters were used in the simulation that produced the associated metrics response |
►CWindowMetrics | The structure returned when requesting Window Metrics for a view, containing the core window distribution metrics properties, plus a context object that indicates |
CContext | The context of a tail metrics request, indicating what parameters were used in the simulation that produced the associated metrics response |
CYELTOptions | Optional parameters which can be specified for yelt download requests |
►NOptimization | |
CCandidate | A candidate is a potential solution to the optimization problem |
CCandidateParameter | The parameters of a layer_view used in a candidate solution |
CCandidateResultsList | The structure returned by the results endpoint that contains candidates solutions to the optimization problem |
CCandidates | A sub-collection of candidate results that exists off of an OptimizationView resource |
CDomainEntry | A structure indicating the min/max share constraint for a layer |
CFunction | The base class for custom optimization functions |
CMetricsFunction | Functions to be used by the Optimization platform for computing objective and constraint values |
COptimizationResult | Object to map metrics on the initial portfolio |
COptimizationView | Representation of a set of Optimization Parameters |
CProjectionFunction | Functions to be used by the Optimization platform for manipulating the members of the population |
►CSensitivityAnalysis | Sensitivity analysis for the optimization view |
CLayerSensitivity | One layer sensitivity parameters |
►NProperties | |
CSettings | This part of the Settings class is not generated from the Settings.settings designer, and only used to set the SettingsProvider for the class |
CSharedSettingsProvider | A SettingsProvider that can be shared by both the AnalyzeRe.Client library, and users of the library like the Excel add-in. Allows switching between the (default) LocalFileSettingsProvider and a registry settings provider which also shares settings entries between applications. Set API.UseRegistrySettings to enable the shared registry provider |
►NRest | |
CRequestParameters | Helper class which makes it easier to build a set of request parameters |
►NUtilities | |
►CAsyncRequestMonitor | Can be used to asynchronously poll a request until the result is ready |
COnCompletedEventArgs | The OnPollEventHandler EventArgs |
COnErrorEventArgs | The OnPollEventHandler EventArgs |
COnPollEventArgs | The OnPollEventHandler EventArgs |
CEnum | Helper class for extending the functionality of the static
class with compile-time-type-specific static methods |
CReflectionUtilities | Utilities that reflect on a type or property expression |
CSimulationStatus | Describes the status of a simulation being monitored |
CSimulationStatusMonitor | Monitors the status of analyses as they run |
CStringSplitter | A high performance string splitter https://github.com/meikeric/String.Split/blob/master/Split.cs |
CTypeExtensionMethods | Utilities used to format types and properties in a manner suitable to output in error messages, to excel, etc |
CTypeResolver | Utility for resolving types given only the types name (Useful for parsing ambiguous JSON objects) |
CAgent | Represents a DataAgent instance |
CAnalysisProfile | A configuration of resources used to simulate a layer or portfolio |
►CAPI | API methods / requests made available to the user |
CParameters | Parameters that can be added to your REST requests to access additional API features |
CPollingOptions | A duplicate of the AnalyzeRe.PollingOptions class |
►CPortfolioViewMarginals | Represents the endpoint on the server for requesting marginal portfolios |
CMarginalPortfolioView | The structure used to create a Marginal PortfolioView |
CAPIRequestException | A custom exception class that includes the RestSharp.IRestResponse that generated the exception, and the detailed ServerError returned, if available |
CAPIResource | Base class used by all resources |
CAPIType | Base class used by all types and resources |
CCollectionResponse | Implements the reference entity interface, with support for resolving references using lazy loading |
CCollectionResponseMeta | The metadata associated with a collection get response |
CDataFile | Represents a file that has been uploaded to the server, usually in conjunction with some other resource to which the data in this file pertains |
CDistribution | Abstract representation of a distribution, used for parametric loss sets |
►CEventCatalog | Representation of an event catalog. The event catalog may cover multiple region/perils, but it is suggested that event catalogs cover disjoint set of events |
CAttribute | Represents a column of values parsed out of the catalog |
CProfile | An object retrieved from the EventCatalog.profile endpoint of a catalog that describes the columns in that catalog |
CExtensionMethods | Provides the REST request methods available to data endpoints |
CIAPIResource | Interface for Base class used by all resources |
CIAPIResourceView | PortfolioView and LayerView interface |
CIAPIType | Interface shared by all object types and resources returned by the Analyze Re server |
CICollectionResponse | Covariant interface for the generic collection response type |
CILayer | Abstract representation of a layer |
CILayerSource | An interface for an object that provides access to some layer instance |
CILayerView | Represents the Analysis of a Layer |
CIReference | Base interface for all reference entities |
CLayer | Abstract representation of a layer. This resource type cannot be instantiated instead derived resource types should be used for instantiation |
CLayerView | Represents the Analysis of a Layer |
CLayerViews | LayerView factory class |
CLossFilter | A predicate that determines whether a loss should be included in the perspective or not |
►CLossSet | Base class for all LossSet sub-types. A LossSet is a resource that generates sample (trial) losses which can be used to simulate a losses to a layer |
CLossTypeDefault | Attribute used to define the default value for the loss_type property |
CMonetaryUnit | Representation of a monetary value with a currency |
CNotWaitingException | Thrown when a request requires additional time to complete, but it exceeds the time we are willing to wait |
CPerspective | The loss perspective determines what factors to include when computing a distribution |
CPollingOptions | Determines the behaviour of the API when automatically retrying a request whose result is not yet ready for retrieval |
CPortfolio | Representation of a portfolio |
CPortfolioView | Represents the Analysis of a Portfolio |
CProbabilityWindow | A probability range used to dictate the set of ordered trial losses in a loss distribution that should be selected during a metrics request. Includes additional features for defining probability windows in different way, as well as implementing the IEquatable interface so that these instances can be used as Dictionary Keys |
CReference | Implements the reference entity interface, with support for resolving references using lazy loading |
CRequestTimeoutException | Extends the TimeoutException class to contain the IRestResponse that timed out |
CRunTime | User-friendly representation of the numeric optimization runtime_seconds field. Wraps a nullable double value |
CSimulation | Representation of a simulation of a set of trials each representing an event occurrence sequence |
CStaticPortfolio | Representation of a portfolio |
CStaticSimulation | A pre-simulated representation of a Simulation (SimGrid) |
CTaskStatusExtensions | Extension methods for TaskStatus enum values |
▼NAnalyzeReTesting | |
►NBase | |
CBaseAbstractResourceTestSuite | Tests for a collection (or base resource type) which do not require an instance of that resource to be defined, and does not need to be re-tested for each derived resource sub-type |
CBaseAbstractStoredResourceTestSuite | Tests for a stored resource collection which do not require an instance of that resource to be defined, and do not need to be re-tested for each derived resource sub-type |
CBaseClientTestSuite | |
CBaseImmutableResourceTestSuite | |
CBaseMutableResourceTestSuite | |
CBaseResourceTestSuite | |
CBaseResourceWithDataTestSuite | |
CBaseServerTestSuite | Create a test class that takes care of setting the server URL and cleaning up after each unit test |
CBaseStoredResourceTestSuite | |
CBaseTestSuite | |
►NProperties | |
CSettings | |
►NTests | |
►NAnalyzeReAPI | |
CTest_API_BugReports | |
CTest_API_SettingsProvider | |
CTestSuite_API_Configuration | |
CTestSuite_API_HTTPS | |
CTestSuite_API_Utilities | |
CTestSuite_REST_Methods | |
CTestSuite_Serializers | |
►NModel | |
►NDataTypes | |
CTestSuite_DataTypes | Test the MonetaryUnit by playing with the premium on a Layer_WithTerms object. This is a necessary special case since the MonetaryUnit has considerable validation, but can only exist within another object (like a Layer definition) |
CTestSuite_MonetaryUnit | Test the MonetaryUnit by playing with the premium on a Layer_WithTerms object. This is a necessary special case since the MonetaryUnit has considerable validation, but can only exist within another object (like a Layer definition) |
CTestSuite_Perspective | Test the Perspective Class |
CTestSuite_References | Test the Reference class to ensure references of different types and instantiated in different ways can be successfully resolved whenever possible |
CTestSuite_SimulationOptions | Test the ReportingPeriod class to ensure ReportingPeriods instantiated in different ways can be successfully used |
CTestSuite_View_Factories | Test the Reference class to ensure View_Factories of different types and instantiated in different ways can be successfully resolved whenever possible |
CTestSuite_Agent | |
CTestSuite_Agent_Base | |
CTestSuite_Analysis | Includes tests that affect all types of Analyses |
CTestSuite_Analysis_Base | |
CTestSuite_Analysis_VendorPortfolioAnalysis | |
CTestSuite_Analysis_VendorTreatyAnalysis | |
CTestSuite_AnalysisProfile | |
CTestSuite_AnalysisProfile_Base | |
CTestSuite_APIResourceView | Contains static helper methods for testing IAPIResourceView instances |
CTestSuite_CustomDistribution | Includes tests that affect all types of CustomDistribution. Because these have a data endpoint, it does not inherit from Test_Distribution, so the description tests are repeated |
CTestSuite_Distribution | Includes tests that affect all types of Distribution |
CTestSuite_Distribution_Base | |
CTestSuite_Distribution_BinomialDistribution | |
CTestSuite_Distribution_CustomFrequencyDistribution | |
CTestSuite_Distribution_CustomSeasonalityDistribution | |
CTestSuite_Distribution_CustomSeverityDistribution | |
CTestSuite_Distribution_DiracDistribution | |
CTestSuite_Distribution_LogNormalDistribution | |
CTestSuite_Distribution_NegativeBinomialDistribution | |
CTestSuite_Distribution_NormalDistribution | |
CTestSuite_Distribution_ParetoDistribution | |
CTestSuite_Distribution_PoissonDistribution | |
CTestSuite_Distribution_UniformDistribution | |
CTestSuite_Distribution_UniformIntDistribution | |
CTestSuite_ELTLossSet | Includes tests that affect all types of ELTLossSet. Because these have a data endpoint, it does not inherit from Test_LossSet, so the description tests are repeated |
CTestSuite_EventCatalog | |
CTestSuite_EventCatalog_Base | |
CTestSuite_ExchangeRateProfile | |
CTestSuite_ExchangeRateProfile_Base | |
CTestSuite_ExchangeRateTable | |
CTestSuite_ExchangeRateTable_Base | |
CTestSuite_Layer | |
CTestSuite_Layer_AggregateQuotaShare | |
CTestSuite_Layer_AggXL | |
CTestSuite_Layer_AggXL_Base | Special case - for simplicity, Generic layer inherits from AggXL |
CTestSuite_Layer_BackAllocatedLayer | |
CTestSuite_Layer_Base | |
CTestSuite_Layer_CatXL | |
CTestSuite_Layer_DelayedPayment | |
CTestSuite_Layer_Filter | |
CTestSuite_Layer_FixedDatePayment | |
CTestSuite_Layer_FixedRateCurrencyConverter | |
CTestSuite_Layer_Generic | |
CTestSuite_Layer_IndustryLossWarranty | |
CTestSuite_Layer_LossRank | |
CTestSuite_Layer_Nested | |
CTestSuite_Layer_NoClaimsBonus | |
CTestSuite_Layer_QuotaShare | |
CTestSuite_Layer_QuotaShare_Base | Special case - for simplicity, AggregateQuotaShare layer inherits from QuotaShare |
CTestSuite_Layer_SurplusShare | |
CTestSuite_Layer_Unsaveable | Special case - certain layer types do not currently support being saved (See ARE-3360). Because of this, whole suites of inherited tests cannot be run. For convenience, we override those test methods here without test attributes, which removes them from the set of runnable tests. Thankfully, all "un-saveable" layer types inherit from the base Layer_WithLossSets class - so we don't need to worry about duplicating anything. TODO: Remove this base class once ARE-3360 is complete |
CTestSuite_Layer_ValueAllocator | |
CTestSuite_Layer_WithLossSets | |
CTestSuite_Layer_WithTerms | |
CTestSuite_Layer_XL | |
CTestSuite_LayerView | |
CTestSuite_LayerView_AggregateQuotaShare | |
CTestSuite_LayerView_AggXL | |
CTestSuite_LayerView_BackAllocatedLayer | |
CTestSuite_LayerView_Base | |
CTestSuite_LayerView_CatXL | |
CTestSuite_LayerView_DelayedPayment | |
CTestSuite_LayerView_Filter | |
CTestSuite_LayerView_FixedDatePayment | |
CTestSuite_LayerView_FixedRateCurrencyConverter | |
CTestSuite_LayerView_Generic | |
CTestSuite_LayerView_IndustryLossWarranty | |
CTestSuite_LayerView_LossRank | |
CTestSuite_LayerView_Nested | |
CTestSuite_LayerView_NoClaimsBonus | |
CTestSuite_LayerView_QuotaShare | |
CTestSuite_LayerView_SurplusShare | |
CTestSuite_LayerView_ValueAllocator | |
CTestSuite_LossFilter | Includes tests that affect all types of LossFilter |
CTestSuite_LossFilter_AndFilter | |
CTestSuite_LossFilter_AnyFilter | |
CTestSuite_LossFilter_AnyOfFilter | |
CTestSuite_LossFilter_AttributeFilter | Includes tests that affect all types of AttributeFilter |
CTestSuite_LossFilter_Base | |
CTestSuite_LossFilter_ComparisonFilter | Includes tests that affect all types of ComparisonFilter |
CTestSuite_LossFilter_ExpressionFilter | Includes tests that affect all types of ExpressionFilter |
CTestSuite_LossFilter_GTFilter | |
CTestSuite_LossFilter_LTFilter | |
CTestSuite_LossFilter_OrFilter | |
CTestSuite_LossFilter_RangeFilter | |
CTestSuite_LossFilter_RecordTypeAnyOfFilter | |
CTestSuite_LossSet | Includes tests that affect all types of LossSet |
CTestSuite_LossSet_Base | |
CTestSuite_LossSet_ELTLossSet | |
CTestSuite_LossSet_LoadedLossSet | |
CTestSuite_LossSet_NestedLayerLossSet | |
CTestSuite_LossSet_ParametricLossSet | |
CTestSuite_LossSet_PortfolioLossSet | |
CTestSuite_LossSet_QCLSLossSet | |
CTestSuite_LossSet_Simulated | Includes tests shared by both YLTLossSets and YELTLossSets |
CTestSuite_LossSet_TreatyLossSet | |
CTestSuite_LossSet_WithCurrency | |
CTestSuite_LossSet_WithData | Includes tests that affect all LossSets that require data upload |
CTestSuite_LossSet_YELTLossSet | |
CTestSuite_LossSet_YLTLossSet | |
CTestSuite_OptimizationFunction | |
CTestSuite_OptimizationMetricsFunction | |
CTestSuite_OptimizationMetricsFunction_Base | |
CTestSuite_OptimizationProjectionFunction | |
CTestSuite_OptimizationProjectionFunction_Base | |
CTestSuite_OptimizationView | |
CTestSuite_OptimizationView_Base | |
CTestSuite_Portfolio | |
CTestSuite_Portfolio_Base | |
CTestSuite_Portfolio_StaticPortfolio | |
CTestSuite_PortfolioView | |
CTestSuite_PortfolioView_Base | |
CTestSuite_PortfolioView_WithLayerViews | |
CTestSuite_PortfolioView_WithPortfolio | |
CTestSuite_Simulation_Base | Tests that do not require a Simulation instance |
CTestSuite_Simulation_StaticSimulation | StaticSimulation tests that do not rely on the /data endpoint |
CTestSuite_Simulation_WithData | Test for Simulations that have a data endpoint |
►NUtilities | |
CMeta_TestSuite_Utilities_Client | |
CMeta_TestSuite_Utilities_Server | |
►NUtilities | |
CAssertApi | |
CCleanUp | Utilities for cleaning up the server |
CConfiguration | |
CEnvironmentSettings | Retrieve settings from environment variables if they exist, or the project settings file otherwise |
CGenericTest | Generic Unit test implementations that will test REST methods on arbitrary resources |
CMockResponse | |
►COutput | A series of generated messages and formatted strings for use in unit tests |
CDoubleConverter | A class to allow the conversion of doubles to string representations of their exact decimal values. The implementation aims for readability over efficiency. Credit: Jon Skeet (https://csharpindepth.com/Articles/General/FloatingPoint.aspx) |
CPropertyGenerationException | An exception throw when a random generation routine fails to produce a POSTable resource |
►CReflection | A collection of filthy hacks to populate some fields of APIResources objects of any type |
CRecursionContext | Used to keep track of the recursive random generation process for objects and their attributes. When an object or its properties are being randomly generated, the recursion context indicates what the parent object (if any) is. When a property to generate has additional nested properties that must also be randomized, the recursion context will point back to the original root object |
CTimedRequest | Small class to track a few properties of a request |
CScripts | A collection of scripts that are sometimes used to batch seed or modify data on a test server |
►CSkip | Class used in unit tests to mark tests as skipped by using Assert.Inconclusive() method |
CUntilRelease | A helper class containing default skip dates |
CIInjectableResource | Interface for a class containing a resource that can be Posted with dependencies |
CInjectableResource | A class containing a resource that can be Posted with dependencies |
►CSamples | Exposes sample resource objects, with built-in methods for injecting dependencies |
CCSV | Exposes the various sample CSV files as strings |
CFees |