Show / Hide Table of Contents

Class ExchangeImportVisitor

Import exchange from JSON file to Payroll API

Inheritance
object
VisitorBase
Visitor
AttachmentsLoader
ExchangeImportVisitor
ExchangeImport
Inherited Members
AttachmentsLoader.Read()
AttachmentsLoader.ReadAsync()
AttachmentsLoader.SetupCaseAsync(IExchangeTenant, IRegulationSet, ICaseSet, ICase)
AttachmentsLoader.SetupCaseRelationAsync(IExchangeTenant, IRegulationSet, ICaseRelation, ICaseRelation)
AttachmentsLoader.SetupCollectorAsync(IExchangeTenant, IRegulationSet, ICollector, ICollector)
AttachmentsLoader.SetupWageTypeAsync(IExchangeTenant, IRegulationSet, IWageType, IWageType)
AttachmentsLoader.SetupScriptAsync(IExchangeTenant, IRegulationSet, IScript, IScript)
AttachmentsLoader.SetupReportAsync(IExchangeTenant, IRegulationSet, IReportSet, IReportSet)
AttachmentsLoader.SetupReportTemplateAsync(IExchangeTenant, IRegulationSet, IReportSet, IReportTemplate, IReportTemplate)
AttachmentsLoader.SetupPayrunAsync(IExchangeTenant, IPayrun, IPayrun)
AttachmentsLoader.ReadTextFile(string)
Visitor.Execute()
Visitor.ExecuteAsync()
Visitor.VisitRegulationShareAsync(IRegulationShare)
Visitor.VisitTaskAsync(IExchangeTenant, ITask)
Visitor.VisitCaseSetupAsync(IExchangeTenant, IPayrollSet, ICaseChangeSetup, ICaseSetup)
Visitor.VisitCaseValueAsync(IExchangeTenant, IPayrollSet, ICaseChangeSetup, ICaseSetup, ICaseValueSetup)
Visitor.VisitPayrunJobInvocationAsync(IExchangeTenant, IPayrunJobInvocation)
Visitor.VisitPayrollResultAsync(IExchangeTenant, IPayrollResultSet)
Visitor.VisitWageTypeResultAsync(IExchangeTenant, IPayrollResultSet, IWageTypeResultSet)
Visitor.VisitWageTypeCustomResultAsync(IExchangeTenant, IPayrollResultSet, IWageTypeResultSet, IWageTypeCustomResult)
Visitor.VisitCollectorResultAsync(IExchangeTenant, IPayrollResultSet, ICollectorResultSet)
Visitor.VisitCollectorCustomResultAsync(IExchangeTenant, IPayrollResultSet, ICollectorResultSet, ICollectorCustomResult)
Visitor.VisitPayrunResultAsync(IExchangeTenant, IPayrollResultSet, IPayrunResult)
Visitor.VisitExchangeTenant
Visitor.VisitRegulationShare
Visitor.VisitUser
Visitor.VisitDivision
Visitor.VisitTask
Visitor.VisitWebhook
Visitor.VisitRegulation
Visitor.VisitLookup
Visitor.VisitLookupValue
Visitor.VisitCase
Visitor.VisitCaseField
Visitor.VisitCaseRelation
Visitor.VisitCollector
Visitor.VisitWageType
Visitor.VisitScript
Visitor.VisitReport
Visitor.VisitReportParameter
Visitor.VisitReportTemplate
Visitor.VisitEmployee
Visitor.VisitPayroll
Visitor.VisitPayrollLayer
Visitor.VisitCaseChangeSetup
Visitor.VisitCaseSetup
Visitor.VisitCaseValue
Visitor.VisitPayrun
Visitor.VisitPayrunParameter
Visitor.VisitPayrunJobInvocation
Visitor.VisitPayrollResult
Visitor.VisitWageTypeResult
Visitor.VisitWageTypeCustomResult
Visitor.VisitCollectorResult
Visitor.VisitCollectorCustomResult
Visitor.VisitPayrunResult
VisitorBase.VisitAsync()
VisitorBase.VisitExchangeTenantsAsync()
VisitorBase.VisitRegulationSharesAsync()
VisitorBase.VisitUsersAsync(IExchangeTenant)
VisitorBase.VisitCalendarsAsync(IExchangeTenant)
VisitorBase.VisitDivisionsAsync(IExchangeTenant)
VisitorBase.VisitTasksAsync(IExchangeTenant)
VisitorBase.VisitWebhooksAsync(IExchangeTenant)
VisitorBase.VisitRegulationsAsync(IExchangeTenant)
VisitorBase.VisitLookupsAsync(IExchangeTenant, IRegulationSet)
VisitorBase.VisitLookupValuesAsync(IExchangeTenant, IRegulationSet, ILookupSet)
VisitorBase.VisitCasesAsync(IExchangeTenant, IRegulationSet)
VisitorBase.VisitCaseFieldsAsync(IExchangeTenant, IRegulationSet, ICaseSet)
VisitorBase.VisitCaseRelationsAsync(IExchangeTenant, IRegulationSet)
VisitorBase.VisitCollectorsAsync(IExchangeTenant, IRegulationSet)
VisitorBase.VisitWageTypesAsync(IExchangeTenant, IRegulationSet)
VisitorBase.VisitScriptsAsync(IExchangeTenant, IRegulationSet)
VisitorBase.VisitReportsAsync(IExchangeTenant, IRegulationSet)
VisitorBase.VisitReportParametersAsync(IExchangeTenant, IRegulationSet, IReportSet)
VisitorBase.VisitReportTemplatesAsync(IExchangeTenant, IRegulationSet, IReportSet)
VisitorBase.VisitEmployeesAsync(IExchangeTenant)
VisitorBase.VisitPayrollsAsync(IExchangeTenant)
VisitorBase.VisitPayrollLayersAsync(IExchangeTenant, IPayrollSet)
VisitorBase.VisitCaseChangeSetupsAsync(IExchangeTenant, IPayrollSet)
VisitorBase.VisitRelatedCasesAsync(IExchangeTenant, IPayrollSet, ICaseChangeSetup, ICaseSetup)
VisitorBase.VisitCaseValuesAsync(IExchangeTenant, IPayrollSet, ICaseChangeSetup, ICaseSetup)
VisitorBase.VisitPayrunsAsync(IExchangeTenant)
VisitorBase.VisitPayrunParametersAsync(IExchangeTenant, IPayrun)
VisitorBase.VisitPayrunJobsAsync(IExchangeTenant)
VisitorBase.VisitPayrunJobAsync(IExchangeTenant, IPayrunJob)
VisitorBase.VisitPayrunJobInvocationsAsync(IExchangeTenant)
VisitorBase.VisitPayrollResultsAsync(IExchangeTenant)
VisitorBase.VisitWageTypeResultsAsync(IExchangeTenant, IPayrollResultSet)
VisitorBase.VisitWageTypeCustomResultsAsync(IExchangeTenant, IPayrollResultSet, IWageTypeResultSet)
VisitorBase.VisitCollectorResultsAsync(IExchangeTenant, IPayrollResultSet)
VisitorBase.VisitCollectorCustomResultsAsync(IExchangeTenant, IPayrollResultSet, ICollectorResultSet)
VisitorBase.VisitPayrunResultsAsync(IExchangeTenant, IPayrollResultSet)
VisitorBase.Exchange
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: PayrollEngine.Client.Exchange
Assembly: PayrollEngine.Client.Core.dll
Syntax
public abstract class ExchangeImportVisitor : AttachmentsLoader

Constructors

ExchangeImportVisitor(PayrollHttpClient, Exchange, IScriptParser, ExchangeImportOptions)

Initializes a new instance of the VisitorBase class

Declaration
protected ExchangeImportVisitor(PayrollHttpClient httpClient, Exchange exchange, IScriptParser scriptParser, ExchangeImportOptions importOptions = null)
Parameters
Type Name Description
PayrollHttpClient httpClient

The Payroll http client

Exchange exchange

The exchange model

IScriptParser scriptParser

The script parser

ExchangeImportOptions importOptions

The import options

Remarks

Content is loaded from the working folder

Properties

CaseDocumentLoad

Load case documents from the working folder

Declaration
protected bool CaseDocumentLoad { get; }
Property Value
Type Description
bool

HttpClient

The Payroll http client

Declaration
public PayrollHttpClient HttpClient { get; }
Property Value
Type Description
PayrollHttpClient

ImportOptions

The visitor load options

Declaration
public ExchangeImportOptions ImportOptions { get; }
Property Value
Type Description
ExchangeImportOptions

LookupValidation

Load report schemas from the working folder

Declaration
protected bool LookupValidation { get; }
Property Value
Type Description
bool

ReportSchemaLoad

Load report templates from the working folder

Declaration
protected bool ReportSchemaLoad { get; }
Property Value
Type Description
bool

ReportTemplateLoad

Load report templates from file

Declaration
protected bool ReportTemplateLoad { get; }
Property Value
Type Description
bool

TargetLoad

Load target object

Declaration
protected bool TargetLoad { get; }
Property Value
Type Description
bool

Methods

GetCalendarAsync(int, string)

Get calendar

Declaration
protected virtual Task<Calendar> GetCalendarAsync(int tenantId, string name)
Parameters
Type Name Description
int tenantId

The tenant id

string name

The calendar name

Returns
Type Description
Task<Calendar>

GetDivisionAsync(int, string)

Get division

Declaration
protected virtual Task<Division> GetDivisionAsync(int tenantId, string name)
Parameters
Type Name Description
int tenantId

The tenant id

string name

The division identifier

Returns
Type Description
Task<Division>

GetEmployeeAsync(int, string)

Get employee

Declaration
protected virtual Task<Employee> GetEmployeeAsync(int tenantId, string identifier)
Parameters
Type Name Description
int tenantId

The tenant id

string identifier

The employee identifier

Returns
Type Description
Task<Employee>

GetPayrollAsync(int, string)

Get payroll

Declaration
protected virtual Task<Payroll> GetPayrollAsync(int tenantId, string payrollName)
Parameters
Type Name Description
int tenantId

The tenant id

string payrollName

The payroll name

Returns
Type Description
Task<Payroll>

GetPayrunAsync(int, string)

Get payrun

Declaration
protected virtual Task<Payrun> GetPayrunAsync(int tenantId, string payrunName)
Parameters
Type Name Description
int tenantId

The tenant id

string payrunName

The payrun name

Returns
Type Description
Task<Payrun>

GetPayrunJobAsync(int, int)

Get payrun job

Declaration
protected virtual Task<PayrunJob> GetPayrunJobAsync(int tenantId, int payrunJobId)
Parameters
Type Name Description
int tenantId

The tenant id

int payrunJobId

The payrun job name

Returns
Type Description
Task<PayrunJob>

GetPayrunParameterAsync(int, int, string)

Get payrun parameter

Declaration
protected virtual Task<PayrunParameter> GetPayrunParameterAsync(int tenantId, int payrunId, string parameterName)
Parameters
Type Name Description
int tenantId

The tenant id

int payrunId

The payrun id

string parameterName

The payrun parameter name

Returns
Type Description
Task<PayrunParameter>

GetRegulationAsync(int, string, int?)

Get division

Declaration
protected virtual Task<Regulation> GetRegulationAsync(int tenantId, string name, int? version = null)
Parameters
Type Name Description
int tenantId

The tenant id

string name

The regulation name

int? version

The regulation version

Returns
Type Description
Task<Regulation>

GetTenantAsync(string)

Get tenant

Declaration
protected virtual Task<Tenant> GetTenantAsync(string tenantIdentifier)
Parameters
Type Name Description
string tenantIdentifier

The tenant identifier

Returns
Type Description
Task<Tenant>

GetUserAsync(int, string)

Get user

Declaration
protected virtual Task<User> GetUserAsync(int tenantId, string userIdentifier)
Parameters
Type Name Description
int tenantId

The tenant id

string userIdentifier

The user identifier

Returns
Type Description
Task<User>

SetupCalendarAsync(IExchangeTenant, ICalendar, ICalendar)

USer setup

Declaration
protected virtual Task SetupCalendarAsync(IExchangeTenant tenant, ICalendar calendar, ICalendar targetCalendar)
Parameters
Type Name Description
IExchangeTenant tenant

The exchange tenant

ICalendar calendar

The calendar

ICalendar targetCalendar

The target calendar

Returns
Type Description
Task

SetupCaseChangeAsync(IExchangeTenant, IPayrollSet, ICaseChangeSetup)

Case change setup

Declaration
protected virtual Task SetupCaseChangeAsync(IExchangeTenant tenant, IPayrollSet payroll, ICaseChangeSetup caseChangeSetup)
Parameters
Type Name Description
IExchangeTenant tenant

The exchange tenant

IPayrollSet payroll

The payroll

ICaseChangeSetup caseChangeSetup

The case change

Returns
Type Description
Task

SetupCaseChangeDocuments(ICaseSetup)

Case change documents setup

Declaration
protected virtual void SetupCaseChangeDocuments(ICaseSetup caseSetup)
Parameters
Type Name Description
ICaseSetup caseSetup

The case change

SetupCaseFieldAsync(IExchangeTenant, IRegulationSet, ICaseSet, ICaseField, ICaseField)

Case field setup

Declaration
protected virtual Task SetupCaseFieldAsync(IExchangeTenant tenant, IRegulationSet regulation, ICaseSet caseSet, ICaseField caseField, ICaseField targetCaseField)
Parameters
Type Name Description
IExchangeTenant tenant

The exchange tenant

IRegulationSet regulation

The regulation

ICaseSet caseSet

The case

ICaseField caseField

The case field

ICaseField targetCaseField

The target case field

Returns
Type Description
Task

SetupDivisionAsync(IExchangeTenant, IDivision, IDivision)

Division setup

Declaration
protected virtual Task SetupDivisionAsync(IExchangeTenant tenant, IDivision division, IDivision targetDivision)
Parameters
Type Name Description
IExchangeTenant tenant

The exchange tenant

IDivision division

The division

IDivision targetDivision

The target division

Returns
Type Description
Task

SetupEmployeeAsync(IExchangeTenant, IEmployeeSet, IEmployee)

Employee setup

Declaration
protected virtual Task SetupEmployeeAsync(IExchangeTenant tenant, IEmployeeSet employee, IEmployee targetEmployee)
Parameters
Type Name Description
IExchangeTenant tenant

The exchange tenant

IEmployeeSet employee

The employee

IEmployee targetEmployee

The target employee

Returns
Type Description
Task

SetupLookupAsync(IExchangeTenant, IRegulationSet, ILookupSet, ILookup)

Lookup setup

Declaration
protected virtual Task SetupLookupAsync(IExchangeTenant tenant, IRegulationSet regulation, ILookupSet lookup, ILookup targetLookup)
Parameters
Type Name Description
IExchangeTenant tenant

The exchange tenant

IRegulationSet regulation

The regulation

ILookupSet lookup

The lookup

ILookup targetLookup

The target lookup

Returns
Type Description
Task

SetupLookupValueAsync(IExchangeTenant, IRegulationSet, ILookupSet, ILookupValue, ILookupValue)

Lookup value setup

Declaration
protected virtual Task SetupLookupValueAsync(IExchangeTenant tenant, IRegulationSet regulation, ILookupSet lookup, ILookupValue lookupValue, ILookupValue targetLookupValue)
Parameters
Type Name Description
IExchangeTenant tenant

The exchange tenant

IRegulationSet regulation

The regulation

ILookupSet lookup

The lookup

ILookupValue lookupValue

The lookup value

ILookupValue targetLookupValue

The target lookup value

Returns
Type Description
Task

SetupPayrollAsync(IExchangeTenant, IPayrollSet, IPayroll)

Payroll setup

Declaration
protected virtual Task SetupPayrollAsync(IExchangeTenant tenant, IPayrollSet payroll, IPayroll targetPayroll)
Parameters
Type Name Description
IExchangeTenant tenant

The exchange tenant

IPayrollSet payroll

The payroll

IPayroll targetPayroll

The target payroll

Returns
Type Description
Task

SetupPayrollLayerAsync(IExchangeTenant, IPayrollSet, IPayrollLayer, IPayrollLayer)

Payroll layer setup

Declaration
protected virtual Task SetupPayrollLayerAsync(IExchangeTenant tenant, IPayrollSet payroll, IPayrollLayer layer, IPayrollLayer targetLayer)
Parameters
Type Name Description
IExchangeTenant tenant

The exchange tenant

IPayrollSet payroll

The payroll

IPayrollLayer layer

The payroll layer

IPayrollLayer targetLayer

The target payroll layer

Returns
Type Description
Task

SetupPayrunParameterAsync(IExchangeTenant, IPayrun, IPayrunParameter, IPayrunParameter)

Payrun setup

Declaration
protected virtual Task SetupPayrunParameterAsync(IExchangeTenant tenant, IPayrun payrun, IPayrunParameter parameter, IPayrunParameter targetPayrunParameter)
Parameters
Type Name Description
IExchangeTenant tenant

The exchange tenant

IPayrun payrun

The payrun

IPayrunParameter parameter

The payrun parameter

IPayrunParameter targetPayrunParameter

The target payrun parameter

Returns
Type Description
Task

SetupRegulationAsync(IExchangeTenant, IRegulationSet, IRegulation)

Regulation setup

Declaration
protected virtual Task SetupRegulationAsync(IExchangeTenant tenant, IRegulationSet regulation, IRegulation targetRegulation)
Parameters
Type Name Description
IExchangeTenant tenant

The exchange tenant

IRegulationSet regulation

The regulation

IRegulation targetRegulation

The target regulation

Returns
Type Description
Task

SetupReportParameterAsync(IExchangeTenant, IRegulationSet, IReportSet, IReportParameter, IReportParameter)

Report parameter setup

Declaration
protected virtual Task SetupReportParameterAsync(IExchangeTenant tenant, IRegulationSet regulation, IReportSet report, IReportParameter parameter, IReportParameter targetParameter)
Parameters
Type Name Description
IExchangeTenant tenant

The exchange tenant

IRegulationSet regulation

The regulation

IReportSet report

The report

IReportParameter parameter

The report parameter

IReportParameter targetParameter

The target report parameter

Returns
Type Description
Task

SetupTenantAsync(IExchangeTenant, ITenant)

Tenant setup

Declaration
protected virtual Task SetupTenantAsync(IExchangeTenant tenant, ITenant targetTenant)
Parameters
Type Name Description
IExchangeTenant tenant

The exchange tenant

ITenant targetTenant

The target tenant

Returns
Type Description
Task

SetupUserAsync(IExchangeTenant, IUser, IUser)

USer setup

Declaration
protected virtual Task SetupUserAsync(IExchangeTenant tenant, IUser user, IUser targetUser)
Parameters
Type Name Description
IExchangeTenant tenant

The exchange tenant

IUser user

The user

IUser targetUser

The target user

Returns
Type Description
Task

SetupWebhookAsync(IExchangeTenant, IWebhook, IWebhook)

Webhook setup

Declaration
protected virtual Task SetupWebhookAsync(IExchangeTenant tenant, IWebhook webhook, IWebhook targetWebhook)
Parameters
Type Name Description
IExchangeTenant tenant

The exchange tenant

IWebhook webhook

The webhook

IWebhook targetWebhook

The target webhook

Returns
Type Description
Task

ValidateLookup(ILookupSet)

Validate the lookup

Declaration
protected virtual void ValidateLookup(ILookupSet lookup)
Parameters
Type Name Description
ILookupSet lookup

The lookup

VisitCalendarAsync(IExchangeTenant, ICalendar)

Visit the calendar

Declaration
protected override Task VisitCalendarAsync(IExchangeTenant tenant, ICalendar calendar)
Parameters
Type Name Description
IExchangeTenant tenant

The tenant

ICalendar calendar

The calendar

Returns
Type Description
Task
Overrides
VisitorBase.VisitCalendarAsync(IExchangeTenant, ICalendar)

VisitCaseAsync(IExchangeTenant, IRegulationSet, ICaseSet)

Visit the case

Declaration
protected override Task VisitCaseAsync(IExchangeTenant tenant, IRegulationSet regulation, ICaseSet caseSet)
Parameters
Type Name Description
IExchangeTenant tenant

The tenant

IRegulationSet regulation

The regulation

ICaseSet caseSet

The case

Returns
Type Description
Task
Overrides
Visitor.VisitCaseAsync(IExchangeTenant, IRegulationSet, ICaseSet)

VisitCaseChangeSetupAsync(IExchangeTenant, IPayrollSet, ICaseChangeSetup)

Visit the case change

Declaration
protected override Task VisitCaseChangeSetupAsync(IExchangeTenant tenant, IPayrollSet payroll, ICaseChangeSetup caseChangeSetup)
Parameters
Type Name Description
IExchangeTenant tenant

The tenant

IPayrollSet payroll

The payroll

ICaseChangeSetup caseChangeSetup

The case change

Returns
Type Description
Task
Overrides
Visitor.VisitCaseChangeSetupAsync(IExchangeTenant, IPayrollSet, ICaseChangeSetup)

VisitCaseFieldAsync(IExchangeTenant, IRegulationSet, ICaseSet, ICaseField)

Visit the case field

Declaration
protected override Task VisitCaseFieldAsync(IExchangeTenant tenant, IRegulationSet regulation, ICaseSet caseSet, ICaseField caseField)
Parameters
Type Name Description
IExchangeTenant tenant

The tenant

IRegulationSet regulation

The regulation

ICaseSet caseSet

The case

ICaseField caseField

The case field

Returns
Type Description
Task
Overrides
Visitor.VisitCaseFieldAsync(IExchangeTenant, IRegulationSet, ICaseSet, ICaseField)

VisitCaseRelationAsync(IExchangeTenant, IRegulationSet, ICaseRelation)

Visit the case relation

Declaration
protected override Task VisitCaseRelationAsync(IExchangeTenant tenant, IRegulationSet regulation, ICaseRelation caseRelation)
Parameters
Type Name Description
IExchangeTenant tenant

The tenant

IRegulationSet regulation

The regulation

ICaseRelation caseRelation

The case relation

Returns
Type Description
Task
Overrides
Visitor.VisitCaseRelationAsync(IExchangeTenant, IRegulationSet, ICaseRelation)

VisitCollectorAsync(IExchangeTenant, IRegulationSet, ICollector)

Visit the collector

Declaration
protected override Task VisitCollectorAsync(IExchangeTenant tenant, IRegulationSet regulation, ICollector collector)
Parameters
Type Name Description
IExchangeTenant tenant

The tenant

IRegulationSet regulation

The regulation

ICollector collector

The collector

Returns
Type Description
Task
Overrides
Visitor.VisitCollectorAsync(IExchangeTenant, IRegulationSet, ICollector)

VisitDivisionAsync(IExchangeTenant, IDivision)

Visit the division

Declaration
protected override Task VisitDivisionAsync(IExchangeTenant tenant, IDivision division)
Parameters
Type Name Description
IExchangeTenant tenant

The tenant

IDivision division

The division

Returns
Type Description
Task
Overrides
Visitor.VisitDivisionAsync(IExchangeTenant, IDivision)

VisitEmployeeAsync(IExchangeTenant, IEmployeeSet)

Visit the employee

Declaration
protected override Task VisitEmployeeAsync(IExchangeTenant tenant, IEmployeeSet employee)
Parameters
Type Name Description
IExchangeTenant tenant

The tenant

IEmployeeSet employee

The employee

Returns
Type Description
Task
Overrides
Visitor.VisitEmployeeAsync(IExchangeTenant, IEmployeeSet)

VisitExchangeTenantAsync(IExchangeTenant)

Visit the exchange tenant

Declaration
protected override Task VisitExchangeTenantAsync(IExchangeTenant tenant)
Parameters
Type Name Description
IExchangeTenant tenant

The exchange tenant

Returns
Type Description
Task
Overrides
Visitor.VisitExchangeTenantAsync(IExchangeTenant)

VisitLookupAsync(IExchangeTenant, IRegulationSet, ILookupSet)

Visit the lookup

Declaration
protected override Task VisitLookupAsync(IExchangeTenant tenant, IRegulationSet regulation, ILookupSet lookup)
Parameters
Type Name Description
IExchangeTenant tenant

The tenant

IRegulationSet regulation

The regulation

ILookupSet lookup

The lookup

Returns
Type Description
Task
Overrides
Visitor.VisitLookupAsync(IExchangeTenant, IRegulationSet, ILookupSet)

VisitLookupValueAsync(IExchangeTenant, IRegulationSet, ILookupSet, ILookupValue)

Visit the lookup value

Declaration
protected override Task VisitLookupValueAsync(IExchangeTenant tenant, IRegulationSet regulation, ILookupSet lookup, ILookupValue lookupValue)
Parameters
Type Name Description
IExchangeTenant tenant

The tenant

IRegulationSet regulation

The regulation

ILookupSet lookup

The lookup

ILookupValue lookupValue

The lookup value

Returns
Type Description
Task
Overrides
Visitor.VisitLookupValueAsync(IExchangeTenant, IRegulationSet, ILookupSet, ILookupValue)

VisitPayrollAsync(IExchangeTenant, IPayrollSet)

Visit the payroll

Declaration
protected override Task VisitPayrollAsync(IExchangeTenant tenant, IPayrollSet payroll)
Parameters
Type Name Description
IExchangeTenant tenant

The tenant

IPayrollSet payroll

The payroll

Returns
Type Description
Task
Overrides
Visitor.VisitPayrollAsync(IExchangeTenant, IPayrollSet)

VisitPayrollLayerAsync(IExchangeTenant, IPayrollSet, IPayrollLayer)

Visit the payroll layer

Declaration
protected override Task VisitPayrollLayerAsync(IExchangeTenant tenant, IPayrollSet payroll, IPayrollLayer layer)
Parameters
Type Name Description
IExchangeTenant tenant

The tenant

IPayrollSet payroll

The payroll

IPayrollLayer layer

The payroll layer

Returns
Type Description
Task
Overrides
Visitor.VisitPayrollLayerAsync(IExchangeTenant, IPayrollSet, IPayrollLayer)

VisitPayrunAsync(IExchangeTenant, IPayrun)

Visit the payrun

Declaration
protected override Task VisitPayrunAsync(IExchangeTenant tenant, IPayrun payrun)
Parameters
Type Name Description
IExchangeTenant tenant

The tenant

IPayrun payrun

The payrun

Returns
Type Description
Task
Overrides
Visitor.VisitPayrunAsync(IExchangeTenant, IPayrun)

VisitPayrunParameterAsync(IExchangeTenant, IPayrun, IPayrunParameter)

Visit the payrun parameter

Declaration
protected override Task VisitPayrunParameterAsync(IExchangeTenant tenant, IPayrun payrun, IPayrunParameter parameter)
Parameters
Type Name Description
IExchangeTenant tenant

The tenant

IPayrun payrun

The payrun

IPayrunParameter parameter

The payrun parameter

Returns
Type Description
Task
Overrides
Visitor.VisitPayrunParameterAsync(IExchangeTenant, IPayrun, IPayrunParameter)

VisitRegulationAsync(IExchangeTenant, IRegulationSet)

Visit the regulation

Declaration
protected override Task VisitRegulationAsync(IExchangeTenant tenant, IRegulationSet regulation)
Parameters
Type Name Description
IExchangeTenant tenant

The tenant

IRegulationSet regulation

The regulation

Returns
Type Description
Task
Overrides
Visitor.VisitRegulationAsync(IExchangeTenant, IRegulationSet)

VisitReportAsync(IExchangeTenant, IRegulationSet, IReportSet)

Visit the script

Declaration
protected override Task VisitReportAsync(IExchangeTenant tenant, IRegulationSet regulation, IReportSet report)
Parameters
Type Name Description
IExchangeTenant tenant

The tenant

IRegulationSet regulation

The regulation

IReportSet report

The report

Returns
Type Description
Task
Overrides
Visitor.VisitReportAsync(IExchangeTenant, IRegulationSet, IReportSet)

VisitReportParameterAsync(IExchangeTenant, IRegulationSet, IReportSet, IReportParameter)

Visit the report parameter

Declaration
protected override Task VisitReportParameterAsync(IExchangeTenant tenant, IRegulationSet regulation, IReportSet report, IReportParameter parameter)
Parameters
Type Name Description
IExchangeTenant tenant

The tenant

IRegulationSet regulation

The regulation

IReportSet report

The report

IReportParameter parameter

The report parameter

Returns
Type Description
Task
Overrides
Visitor.VisitReportParameterAsync(IExchangeTenant, IRegulationSet, IReportSet, IReportParameter)

VisitReportTemplateAsync(IExchangeTenant, IRegulationSet, IReportSet, IReportTemplate)

Visit the report template

Declaration
protected override Task VisitReportTemplateAsync(IExchangeTenant tenant, IRegulationSet regulation, IReportSet report, IReportTemplate template)
Parameters
Type Name Description
IExchangeTenant tenant

The tenant

IRegulationSet regulation

The regulation

IReportSet report

The report

IReportTemplate template

The report template

Returns
Type Description
Task
Overrides
Visitor.VisitReportTemplateAsync(IExchangeTenant, IRegulationSet, IReportSet, IReportTemplate)

VisitScriptAsync(IExchangeTenant, IRegulationSet, IScript)

Visit the script

Declaration
protected override Task VisitScriptAsync(IExchangeTenant tenant, IRegulationSet regulation, IScript script)
Parameters
Type Name Description
IExchangeTenant tenant

The tenant

IRegulationSet regulation

The regulation

IScript script

The script

Returns
Type Description
Task
Overrides
Visitor.VisitScriptAsync(IExchangeTenant, IRegulationSet, IScript)

VisitUserAsync(IExchangeTenant, IUser)

Visit the user

Declaration
protected override Task VisitUserAsync(IExchangeTenant tenant, IUser user)
Parameters
Type Name Description
IExchangeTenant tenant

The tenant

IUser user

The user

Returns
Type Description
Task
Overrides
Visitor.VisitUserAsync(IExchangeTenant, IUser)

VisitWageTypeAsync(IExchangeTenant, IRegulationSet, IWageType)

Visit the wage type

Declaration
protected override Task VisitWageTypeAsync(IExchangeTenant tenant, IRegulationSet regulation, IWageType wageType)
Parameters
Type Name Description
IExchangeTenant tenant

The tenant

IRegulationSet regulation

The regulation

IWageType wageType

The wage type

Returns
Type Description
Task
Overrides
Visitor.VisitWageTypeAsync(IExchangeTenant, IRegulationSet, IWageType)

VisitWebhookAsync(IExchangeTenant, IWebhookSet)

Visit the webhook

Declaration
protected override Task VisitWebhookAsync(IExchangeTenant tenant, IWebhookSet webhook)
Parameters
Type Name Description
IExchangeTenant tenant

The tenant

IWebhookSet webhook

The webhook

Returns
Type Description
Task
Overrides
Visitor.VisitWebhookAsync(IExchangeTenant, IWebhookSet)

Extension Methods

ConsoleExtensions.WriteProperties(object, bool)
ValueTypeExtensions.GetValueType(object)
ObjectInfo.GetPropertyValue(object, string)
ObjectInfo.GetPropertyValue<T>(object, string, T)
ObjectInfo.ResolvePropertyValue(object, string)
ObjectInfo.SetPropertyValue(object, string, object)
☀
☾
Back to top Generated by DocFX