CompilerServices.ITypeProvider 인터페이스(F#)
형식 공급자는 이 인터페이스를 컴파일러가 F# 형식 공급자로 인식할 수 있도록 구현합니다. 이 인터페이스의 구현에서 형식 공급자의 동작과 공용 인터페이스가 결정됩니다. 자세한 내용은 형식 공급자을 참조하세요.
네임스페이스/모듈 경로: Microsoft.FSharp.Core.CompilerServices
어셈블리: FSharp.Core(FSharp.Core.dll)
type ITypeProvider = interface inherit IDisposable abstract this.ApplyStaticArguments : Type * string [] * obj [] -> Type abstract this.GetGeneratedAssemblyContents : System.Reflection.Assembly -> byte[] abstract this.GetInvokerExpression : MethodBase * Quotations.Expr [] -> Quotations.Expr abstract this.GetNamespaces : unit -> IProvidedNamespace [] abstract this.GetStaticParameters : Type -> ParameterInfo [] abstract this.add_Invalidate : EventHandler -> unit abstract this.Invalidate : IEvent<EventHandler,EventArgs> abstract this.remove_Invalidate : EventHandler -> unit end
인스턴스 멤버
멤버 |
설명 |
---|---|
add_Invalidate: EventHandler -> unit |
Invalidate 이벤트에 대한 이벤트 처리기를 추가합니다. |
ApplyStaticArguments: Type * string [] * obj [] -> Type |
정적 인수를 허용하는 제공된 형식에 정적 인수를 적용합니다. |
GetInvokerExpression: MethodBase * Quotations.Expr [] -> Quotations.Expr |
지정된 MethodBase를 대체할 식 트리를 요청하기 위해 컴파일러가 호출합니다. |
GetGeneratedAssemblyContents: System.Reflection.Assembly -> byte [] |
지정한 논리적으로 제공된 어셈블리의 실제 콘텐츠를 가져옵니다. |
GetNamespaces: unit -> IProvidedNamespace [] |
이 형식 공급자가 형식을 삽입하는 네임스페이스 이름입니다. |
GetStaticParameters: Type -> ParameterInfo [] |
제공된 형식에 대한 정적 매개 변수를 가져옵니다. |
가정이 변경되어 공급자가 지금까지 보고한 확인 내용이 무효화되면 트리거됩니다. |
|
remove_Invalidate: EventHandler -> unit |
Invalidate 이벤트에 대한 이벤트 처리기를 제거합니다. |
플랫폼
Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2
버전 정보
F# 핵심 라이브러리 버전
지원 대상: 4.0지원 대상: 4.0, 이식 가능