RegexCompilationInfo 클래스

정의

주의

Regex.CompileToAssembly is obsolete and not supported. Use the GeneratedRegexAttribute with the regular expression source generator instead.

정규식을 독립 실행형 어셈블리로 컴파일하는 데 사용하는 정규식에 대한 정보를 제공합니다.

public ref class RegexCompilationInfo
public class RegexCompilationInfo
[System.Obsolete("Regex.CompileToAssembly is obsolete and not supported. Use the GeneratedRegexAttribute with the regular expression source generator instead.", DiagnosticId="SYSLIB0036", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public class RegexCompilationInfo
[System.Serializable]
public class RegexCompilationInfo
type RegexCompilationInfo = class
[<System.Obsolete("Regex.CompileToAssembly is obsolete and not supported. Use the GeneratedRegexAttribute with the regular expression source generator instead.", DiagnosticId="SYSLIB0036", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type RegexCompilationInfo = class
[<System.Serializable>]
type RegexCompilationInfo = class
Public Class RegexCompilationInfo
상속
RegexCompilationInfo
특성

설명

개체의 RegexCompilationInfo 배열은 어셈블리에 CompileToAssembly 포함할 각 정규식에 대한 정보를 제공하기 위해 메서드에 전달됩니다. 어셈블리에 포함된 컴파일된 각 정규식은 에서 Regex파생된 클래스로 표시됩니다. 형식의 RegexCompilationInfo 속성은 정규식의 클래스 이름, 정규화된 이름(즉, 네임스페이스 및 해당 형식 이름), 정규식 패턴, 추가 옵션(예: 정규식이 대/소문자를 구분하지 않는지 여부) 및 정규식 엔진이 일치 항목을 검색해야 하는 기간을 지정하는 시간 제한 간격을 정의합니다.

오버로드된 클래스 생성자를 호출하여 개체를 인스턴스화 RegexCompilationInfo 할 수 있습니다.

생성자

RegexCompilationInfo(String, RegexOptions, String, String, Boolean)
사용되지 않음.

어셈블리에 포함할 정규식에 대한 정보를 포함하는 RegexCompilationInfo 클래스의 새 인스턴스를 초기화합니다.

RegexCompilationInfo(String, RegexOptions, String, String, Boolean, TimeSpan)
사용되지 않음.

어셈블리에 포함할 지정된 시간 제한 값의 정규식에 대한 정보를 포함하는 RegexCompilationInfo 클래스의 새 인스턴스를 초기화합니다.

속성

IsPublic
사용되지 않음.

컴파일된 정규식을 공개적으로 표시할 수 있는지 여부를 나타내는 값을 가져오거나 설정합니다.

MatchTimeout
사용되지 않음.

정규식의 기본 시간 제한 간격을 가져오거나 설정합니다.

Name
사용되지 않음.

컴파일된 정규식을 나타내는 형식의 이름을 가져오거나 설정합니다.

Namespace
사용되지 않음.

새 형식이 속한 네임스페이스를 가져오거나 설정합니다.

Options
사용되지 않음.

정규식을 컴파일할 때 사용할 옵션을 가져오거나 설정합니다.

Pattern
사용되지 않음.

컴파일할 정규식을 가져오거나 설정합니다.

메서드

Equals(Object)
사용되지 않음.

지정된 개체가 현재 개체와 같은지 확인합니다.

(다음에서 상속됨 Object)
GetHashCode()
사용되지 않음.

기본 해시 함수로 작동합니다.

(다음에서 상속됨 Object)
GetType()
사용되지 않음.

현재 인스턴스의 Type을 가져옵니다.

(다음에서 상속됨 Object)
MemberwiseClone()
사용되지 않음.

현재 Object의 단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
ToString()
사용되지 않음.

현재 개체를 나타내는 문자열을 반환합니다.

(다음에서 상속됨 Object)

적용 대상

추가 정보