C# 클래스 System.ComponentModel.Composition.CompositionDumper

Dumps parts, exports and imports to a text file. Useful to diff the results of two compositions to verify that different ways to compose produce same results.
파일 보기 프로젝트 열기: KirillOsenkov/MEFMetadata 1 사용 예제들

공개 메소드들

메소드 설명
TimeComposition ( IEnumerable catalogs, string outputFilePath = null ) : string
TouchCatalog ( ComposablePartCatalog composablePartCatalog ) : System.Threading.Tasks.Task
TouchContainer ( System.ComponentModel.Composition.Hosting.CompositionContainer container ) : void
TouchPart ( System.ComponentModel.Composition.Primitives.ComposablePartDefinition part ) : void
WriteTo ( System.ComponentModel.Composition.Hosting.CompositionContainer compositionContainer, TextWriter writer ) : void
WriteTo ( System.ComponentModel.Composition.Hosting.CompositionContainer compositionContainer, string fileName ) : void

비공개 메소드들

메소드 설명
BuildCatalog ( ComposablePartCatalog composablePartCatalog ) : void
CompositionDumper ( TextWriter writer ) : System.Collections.Generic
Dump ( string p ) : void
DumpExport ( System.ComponentModel.Composition.Primitives.ComposablePartDefinition part, System.ComponentModel.Composition.Primitives.ExportDefinition e ) : void
DumpImport ( System.ComponentModel.Composition.Primitives.ComposablePartDefinition part, System.ComponentModel.Composition.Primitives.ImportDefinition i ) : void
DumpPart ( System.ComponentModel.Composition.Primitives.ComposablePartDefinition part ) : void

메소드 상세

TimeComposition() 공개 정적인 메소드

public static TimeComposition ( IEnumerable catalogs, string outputFilePath = null ) : string
catalogs IEnumerable
outputFilePath string
리턴 string

TouchCatalog() 공개 정적인 메소드

public static TouchCatalog ( ComposablePartCatalog composablePartCatalog ) : System.Threading.Tasks.Task
composablePartCatalog ComposablePartCatalog
리턴 System.Threading.Tasks.Task

TouchContainer() 공개 정적인 메소드

public static TouchContainer ( System.ComponentModel.Composition.Hosting.CompositionContainer container ) : void
container System.ComponentModel.Composition.Hosting.CompositionContainer
리턴 void

TouchPart() 공개 정적인 메소드

public static TouchPart ( System.ComponentModel.Composition.Primitives.ComposablePartDefinition part ) : void
part System.ComponentModel.Composition.Primitives.ComposablePartDefinition
리턴 void

WriteTo() 공개 정적인 메소드

public static WriteTo ( System.ComponentModel.Composition.Hosting.CompositionContainer compositionContainer, TextWriter writer ) : void
compositionContainer System.ComponentModel.Composition.Hosting.CompositionContainer
writer System.IO.TextWriter
리턴 void

WriteTo() 공개 정적인 메소드

public static WriteTo ( System.ComponentModel.Composition.Hosting.CompositionContainer compositionContainer, string fileName ) : void
compositionContainer System.ComponentModel.Composition.Hosting.CompositionContainer
fileName string
리턴 void