Search Results for

    Show / Hide Table of Contents

    Class ScriptPartListExtensions

    Extensions for the System.Collections.Generic.IList<T> of ScriptPart type

    Inheritance
    System.Object
    ScriptPartListExtensions
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: ImageVault.Common.Lib.Data
    Assembly: ImageVault.Common.dll
    Syntax
    public static class ScriptPartListExtensions

    Methods

    AddScript(IList<ScriptPart>, String, String, ScriptSegment, ScriptType)

    Adds scripts to the list

    Declaration
    public static void AddScript(this IList<ScriptPart> list, string name, string script, ScriptSegment segment, ScriptType type)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<ScriptPart> list
    System.String name
    System.String script
    ScriptSegment segment
    ScriptType type

    AddScripts(IList<ScriptPart>, IFolder, String, ScriptType)

    Adds scripts to the list

    Declaration
    public static void AddScripts(this IList<ScriptPart> list, IFolder folder, string filepattern, ScriptType type)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<ScriptPart> list
    IFolder folder
    System.String filepattern
    ScriptType type

    ToList(IList<ScriptPart>, ScriptSegment, ScriptType)

    Exports a list of the selected parts

    Declaration
    public static IList<ScriptPart> ToList(this IList<ScriptPart> list, ScriptSegment segment, ScriptType type)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<ScriptPart> list
    ScriptSegment segment
    ScriptType type
    Returns
    Type Description
    System.Collections.Generic.IList<ScriptPart>
    In This Article
    Back to top (c) Meriworks 2002-2022