Show / Hide Table of Contents

Class Converters

Converter helpers for EIS Connector / Web services

Inheritance
Object
Converters
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.ErpSync.ConnectorWS
Assembly: SuperOffice.Plugins.dll
Syntax
public static class Converters

Methods

FromPlugin(ErpActor)

Convert ErpActor from plugin to Web Service object

Declaration
public static ErpActorWS FromPlugin(this ErpActor source)
Parameters
Type Name Description
ErpActor source
Returns
Type Description
ErpActorWS

FromPlugin(FieldMetadataInfo)

Convert FieldMetadataInfo from plugin to Web Service object

Declaration
public static FieldMetadataInfoWS FromPlugin(this FieldMetadataInfo source)
Parameters
Type Name Description
FieldMetadataInfo source
Returns
Type Description
FieldMetadataInfoWS

FromPlugin(SearchRestrictionInfo)

Convert SearchRestrictionInfo from plugin to Web Service object

Declaration
public static SearchRestrictionInfoWS FromPlugin(this SearchRestrictionInfo source)
Parameters
Type Name Description
SearchRestrictionInfo source
Returns
Type Description
SearchRestrictionInfoWS

MapEnums<From, To>(From)

Map enum values from one enum to another; assumes that the values have the same names throughout, but they do not need to have the same int's

Declaration
public static To MapEnums<From, To>(this From from)
Parameters
Type Name Description
From from

Source enum value

Returns
Type Description
To

Same named value from the target enum, as the source value

Type Parameters
Name Description
From

Source enum type

To

Destination enum type

ToPlugin(ErpActorWS)

Convert ErpActor from Web Service object to plugin

Declaration
public static ErpActor ToPlugin(this ErpActorWS source)
Parameters
Type Name Description
ErpActorWS source
Returns
Type Description
ErpActor

ToPlugin(FieldMetadataInfoWS)

Convert FieldMetadataInfo from Web Service object to plugin

Declaration
public static FieldMetadataInfo ToPlugin(this FieldMetadataInfoWS source)
Parameters
Type Name Description
FieldMetadataInfoWS source
Returns
Type Description
FieldMetadataInfo

ToPlugin(SearchRestrictionInfoWS)

Convert SearchRestrictionInfo from Web Service object to plugin

Declaration
public static SearchRestrictionInfo ToPlugin(this SearchRestrictionInfoWS source)
Parameters
Type Name Description
SearchRestrictionInfoWS source
Returns
Type Description
SearchRestrictionInfo
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top