Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IFileTypeCollection

    Represents a collection of deployable file types used for each specific entity type.

    Namespace: Umbraco.Cms.Core.Deploy
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IFileTypeCollection

    Properties

    View Source

    Item[String]

    Gets the IFileType for the specified entity type.

    Declaration
    IFileType this[string entityType] { get; }
    Parameters
    Type Name Description
    System.String entityType

    The entity type.

    Property Value
    Type Description
    IFileType

    The IFileType.

    Methods

    View Source

    Contains(String)

    Determines whether this collection contains a file type for the specified entity type.

    Declaration
    bool Contains(string entityType)
    Parameters
    Type Name Description
    System.String entityType

    The entity type.

    Returns
    Type Description
    System.Boolean

    true if this collection contains a file type for the specified entity type; otherwise, false.

    View Source

    GetEntityTypes()

    Gets the entity types.

    Declaration
    ICollection<string> GetEntityTypes()
    Returns
    Type Description
    ICollection<System.String>

    The entity types.

    View Source

    TryGetValue(String, out IFileType)

    Gets the IFileType for the specified entity type.

    Declaration
    bool TryGetValue(string entityType, out IFileType fileType)
    Parameters
    Type Name Description
    System.String entityType

    The entity type.

    IFileType fileType

    When this method returns, contains the file type associated with the specified entity type, if the item is found; otherwise, null.

    Returns
    Type Description
    System.Boolean

    true if the file type associated with the specified entity type was found; otherwise, false.

    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • Item[String]
    • Methods
      • Contains(String)
      • GetEntityTypes()
      • TryGetValue(String, out IFileType)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX