Search Results for

    Show / Hide Table of Contents

    Class ExtensionsForICustomAttributeProvider

    Inheritance
    object
    ExtensionsForICustomAttributeProvider
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: FluentMigrator.Infrastructure.Extensions
    Assembly: FluentMigrator.dll
    Syntax
    public static class ExtensionsForICustomAttributeProvider

    Methods

    GetAllAttributes<T>(ICustomAttributeProvider)

    Declaration
    public static T[] GetAllAttributes<T>(this ICustomAttributeProvider member) where T : Attribute
    Parameters
    Type Name Description
    ICustomAttributeProvider member
    Returns
    Type Description
    T[]
    Type Parameters
    Name Description
    T

    GetAllAttributes<T>(ICustomAttributeProvider, bool)

    Declaration
    public static T[] GetAllAttributes<T>(this ICustomAttributeProvider member, bool inherit) where T : Attribute
    Parameters
    Type Name Description
    ICustomAttributeProvider member
    bool inherit
    Returns
    Type Description
    T[]
    Type Parameters
    Name Description
    T

    GetOneAttribute<T>(ICustomAttributeProvider)

    Declaration
    public static T GetOneAttribute<T>(this ICustomAttributeProvider member) where T : Attribute
    Parameters
    Type Name Description
    ICustomAttributeProvider member
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    GetOneAttribute<T>(ICustomAttributeProvider, bool)

    Declaration
    public static T GetOneAttribute<T>(this ICustomAttributeProvider member, bool inherit) where T : Attribute
    Parameters
    Type Name Description
    ICustomAttributeProvider member
    bool inherit
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    HasAttribute<T>(ICustomAttributeProvider)

    Declaration
    public static bool HasAttribute<T>(this ICustomAttributeProvider member) where T : Attribute
    Parameters
    Type Name Description
    ICustomAttributeProvider member
    Returns
    Type Description
    bool
    Type Parameters
    Name Description
    T

    HasAttribute<T>(ICustomAttributeProvider, bool)

    Declaration
    public static bool HasAttribute<T>(this ICustomAttributeProvider member, bool inherit) where T : Attribute
    Parameters
    Type Name Description
    ICustomAttributeProvider member
    bool inherit
    Returns
    Type Description
    bool
    Type Parameters
    Name Description
    T
    In this article
    Back to top
    Copyright © 2018 Fluent Migrator Project
    Generated by DocFX
    Creative Commons License
    FluentMigrator Documentation by FluentMigrator Project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.