Show / Hide Table of Contents

Class NamespaceUpdateTool

Payroll client exchange namespace update

Inheritance
object
VisitorBase
Visitor
NamespaceUpdateTool
Inherited Members
Visitor.Execute()
Visitor.ExecuteAsync()
Visitor.VisitRegulationShareAsync(IRegulationShare)
Visitor.VisitLookupValueAsync(IExchangeTenant, IRegulationSet, ILookupSet, ILookupValue)
Visitor.VisitReportTemplateAsync(IExchangeTenant, IRegulationSet, IReportSet, IReportTemplate)
Visitor.VisitCaseSetupAsync(IExchangeTenant, IPayrollSet, ICaseChangeSetup, ICaseSetup)
Visitor.VisitCaseValueAsync(IExchangeTenant, IPayrollSet, ICaseChangeSetup, ICaseSetup, ICaseValueSetup)
Visitor.VisitPayrollResultAsync(IExchangeTenant, IPayrollResultSet)
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 class NamespaceUpdateTool : Visitor

Constructors

NamespaceUpdateTool(Exchange, string)

Initializes a new instance of the NamespaceUpdateTool class

Declaration
public NamespaceUpdateTool(Exchange exchange, string @namespace)
Parameters
Type Name Description
Exchange exchange

The exchange model

string namespace

The target namespace name

Remarks

Content is loaded from the working folder

Methods

UpdateNamespace()

Update the namespace

Declaration
public void UpdateNamespace()

UpdateNamespaceAsync()

Update the namespace

Declaration
public virtual Task UpdateNamespaceAsync()
Returns
Type Description
Task

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 setup

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)

VisitCollectorCustomResultAsync(IExchangeTenant, IPayrollResultSet, ICollectorResultSet, ICollectorCustomResult)

Visit the collector custom result

Declaration
protected override Task VisitCollectorCustomResultAsync(IExchangeTenant tenant, IPayrollResultSet payrollResult, ICollectorResultSet collectorResult, ICollectorCustomResult collectorCustomResult)
Parameters
Type Name Description
IExchangeTenant tenant

The exchange tenant

IPayrollResultSet payrollResult

The payroll result

ICollectorResultSet collectorResult

The collector result

ICollectorCustomResult collectorCustomResult

The collector custom result

Returns
Type Description
Task
Overrides
Visitor.VisitCollectorCustomResultAsync(IExchangeTenant, IPayrollResultSet, ICollectorResultSet, ICollectorCustomResult)

VisitCollectorResultAsync(IExchangeTenant, IPayrollResultSet, ICollectorResultSet)

Visit the collector result

Declaration
protected override Task VisitCollectorResultAsync(IExchangeTenant tenant, IPayrollResultSet payrollResult, ICollectorResultSet collectorResult)
Parameters
Type Name Description
IExchangeTenant tenant

The exchange tenant

IPayrollResultSet payrollResult

The payroll result

ICollectorResultSet collectorResult

The collector result

Returns
Type Description
Task
Overrides
Visitor.VisitCollectorResultAsync(IExchangeTenant, IPayrollResultSet, ICollectorResultSet)

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)

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)

VisitPayrunJobInvocationAsync(IExchangeTenant, IPayrunJobInvocation)

Visit the payrun job invocation

Declaration
protected override Task VisitPayrunJobInvocationAsync(IExchangeTenant tenant, IPayrunJobInvocation invocation)
Parameters
Type Name Description
IExchangeTenant tenant

The exchange tenant

IPayrunJobInvocation invocation

The payrun job invocation

Returns
Type Description
Task
Overrides
Visitor.VisitPayrunJobInvocationAsync(IExchangeTenant, IPayrunJobInvocation)

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)

VisitPayrunResultAsync(IExchangeTenant, IPayrollResultSet, IPayrunResult)

Visit the payrun result

Declaration
protected override Task VisitPayrunResultAsync(IExchangeTenant tenant, IPayrollResultSet payrollResult, IPayrunResult payrunResult)
Parameters
Type Name Description
IExchangeTenant tenant

The exchange tenant

IPayrollResultSet payrollResult

The payroll result

IPayrunResult payrunResult

The payrun result

Returns
Type Description
Task
Overrides
Visitor.VisitPayrunResultAsync(IExchangeTenant, IPayrollResultSet, IPayrunResult)

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 report

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)

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)

VisitTaskAsync(IExchangeTenant, ITask)

Visit the task

Declaration
protected override Task VisitTaskAsync(IExchangeTenant tenant, ITask task)
Parameters
Type Name Description
IExchangeTenant tenant

The tenant

ITask task

The task

Returns
Type Description
Task
Overrides
Visitor.VisitTaskAsync(IExchangeTenant, ITask)

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)

VisitWageTypeCustomResultAsync(IExchangeTenant, IPayrollResultSet, IWageTypeResultSet, IWageTypeCustomResult)

Visit the wage type custom result

Declaration
protected override Task VisitWageTypeCustomResultAsync(IExchangeTenant tenant, IPayrollResultSet payrollResult, IWageTypeResultSet wageTypeResult, IWageTypeCustomResult wageTypeCustomResult)
Parameters
Type Name Description
IExchangeTenant tenant

The exchange tenant

IPayrollResultSet payrollResult

The payroll result

IWageTypeResultSet wageTypeResult

The wage type result

IWageTypeCustomResult wageTypeCustomResult

The wage type custom result

Returns
Type Description
Task
Overrides
Visitor.VisitWageTypeCustomResultAsync(IExchangeTenant, IPayrollResultSet, IWageTypeResultSet, IWageTypeCustomResult)

VisitWageTypeResultAsync(IExchangeTenant, IPayrollResultSet, IWageTypeResultSet)

Visit the wage type result

Declaration
protected override Task VisitWageTypeResultAsync(IExchangeTenant tenant, IPayrollResultSet payrollResult, IWageTypeResultSet wageTypeResult)
Parameters
Type Name Description
IExchangeTenant tenant

The exchange tenant

IPayrollResultSet payrollResult

The payroll result

IWageTypeResultSet wageTypeResult

The wage type result

Returns
Type Description
Task
Overrides
Visitor.VisitWageTypeResultAsync(IExchangeTenant, IPayrollResultSet, IWageTypeResultSet)

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