Search Results for

    Show / Hide Table of Contents

    Class ImportDataResult

    An import data task result returned by the IServerTask. Holds the list of ImportLineResultInfo results that was determined by the import data task (UNIQUE_TASK_ID)

    Inheritance
    System.Object
    SerializedParam
    ServerTaskResult
    ImportDataResult
    Implements
    ICloneable
    ICloneable<ImportDataResult>
    Inherited Members
    SerializedParam.GetParam<T>(String)
    SerializedParam.GetParam<T>(Byte[])
    SerializedParam.GetParam(String)
    SerializedParam.GetParam(Byte[])
    SerializedParam.ToSerializedString()
    SerializedParam.ToSerializedBytes()
    SerializedParam.ICloneable.Clone()
    SerializedParam.ICloneable.CopyFromSource(Object)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: LemonEdge.API.Tasks.Results
    Assembly: API.dll
    Syntax
    [DataContract]
    public class ImportDataResult : ServerTaskResult, ICloneable, ICloneable<ImportDataResult>

    Constructors

    ImportDataResult()

    Creates a new import data result

    Declaration
    public ImportDataResult()

    ImportDataResult(IEnumerable<ImportLineResultInfo>)

    Creates a new import data result with the specified initial result line details

    Declaration
    public ImportDataResult(IEnumerable<ImportLineResultInfo> lines)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<ImportLineResultInfo> lines

    A list of results for each line of the import so far

    Properties

    CreatedTasksProcessed

    Indicates that all tasks that were automatically created from importing the specified data (indicated from AutoCreatedTaskID) have already been processed an do not need to be waited on

    Declaration
    public bool CreatedTasksProcessed { get; set; }
    Property Value
    Type Description
    System.Boolean

    Results

    A list of the results for each line of the import input file

    Declaration
    public List<ImportLineResultInfo> Results { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<ImportLineResultInfo>

    Methods

    AddResultInfo(ImportLineResultInfo)

    Adds the results of a line from the import input file

    Declaration
    public void AddResultInfo(ImportLineResultInfo info)
    Parameters
    Type Name Description
    ImportLineResultInfo info

    The results of importing a line from the input file

    AddResultInfo(IEnumerable<ImportLineResultInfo>)

    Adds the specified results from the import input file

    Declaration
    public void AddResultInfo(IEnumerable<ImportLineResultInfo> lines)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<ImportLineResultInfo> lines

    Clone()

    Declaration
    public ImportDataResult Clone()
    Returns
    Type Description
    ImportDataResult

    CopyFromParam(SerializedParam)

    Declaration
    protected override void CopyFromParam(SerializedParam source)
    Parameters
    Type Name Description
    SerializedParam source
    Overrides
    SerializedParam.CopyFromParam(SerializedParam)

    CopyFromSource(ImportDataResult)

    Declaration
    public void CopyFromSource(ImportDataResult source)
    Parameters
    Type Name Description
    ImportDataResult source

    CreateNewParam()

    Declaration
    protected override SerializedParam CreateNewParam()
    Returns
    Type Description
    SerializedParam
    Overrides
    SerializedParam.CreateNewParam()

    Implements

    ICloneable
    ICloneable<T>

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)
    In This Article
    Back to top © LemonEdge Technology. All rights reserved.