UseCultureAttribute UseCultureAttribute Class

Syntax

Declaration

[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public class UseCultureAttribute : BeforeAfterTestAttribute<AttributeUsage(AttributeTargets.Class Or AttributeTargets.Method)>
Public Class UseCultureAttribute
    Inherits BeforeAfterTestAttribute

Inheritance Hierarchy

  • System.Object
    System.Object
  • UseCultureAttribute
    UseCultureAttribute

Constructors summary

Properties summary

Methods summary

Constructors

  • UseCultureAttribute(String)
    UseCultureAttribute(String)
    public UseCultureAttribute(string culture)Public Sub New(culture As String)

    Parameters

    • culture
      System.String
      System.String
  • UseCultureAttribute(String, String)
    UseCultureAttribute(String, String)
    public UseCultureAttribute(string culture, string uiCulture)Public Sub New(culture As String, uiCulture As String)

    Parameters

    • culture
      System.String
      System.String
    • uiCulture
      System.String
      System.String

Properties

  • Culture
    Culture
    public CultureInfo Culture { get; }Public ReadOnly Property Culture As CultureInfo

    Property Value

    • System.Globalization.CultureInfo
      System.Globalization.CultureInfo
  • UICulture
    UICulture
    public CultureInfo UICulture { get; }Public ReadOnly Property UICulture As CultureInfo

    Property Value

    • System.Globalization.CultureInfo
      System.Globalization.CultureInfo

Methods

  • After(MethodInfo)
    After(MethodInfo)
    public override void After(MethodInfo methodUnderTest)Public Overrides Sub After(methodUnderTest As MethodInfo)

    Parameters

    • methodUnderTest
      System.Reflection.MethodInfo
      System.Reflection.MethodInfo
  • Before(MethodInfo)
    Before(MethodInfo)
    public override void Before(MethodInfo methodUnderTest)Public Overrides Sub Before(methodUnderTest As MethodInfo)

    Parameters

    • methodUnderTest
      System.Reflection.MethodInfo
      System.Reflection.MethodInfo

Details

Assembly

Microsoft.EntityFrameworkCore.Specification.Tests.dll