C# 클래스 NRConfigManager.Rendering.Renderer

Renders or manipulates New Relic-compatible XML configuration files for custom instrumentation.
파일 보기 프로젝트 열기: Pablissimo/nrconfig

공개 메소드들

메소드 설명
LoadRenderedFromStream ( Stream stream ) : Extension

Generates an in-memory representation of a New Relic custom instrumentation XML file from the specified stream.

Render ( IEnumerable targets ) : Extension

Creates an XML-renderable Extension object that represents the instrumentation settings specified by the supplied list of targets.

RenderToStream ( Extension extension, Stream stream ) : void

Renders a supplied Extension object to a specified stream as a New Relic-compatible XML document.

RenderToStream ( IEnumerable targets, Stream stream ) : void

Renders a supplied collection of instrumentation targets to a specified stream as a New Relic-compatible XML document.

비공개 메소드들

메소드 설명
GetFriendlyTypeName ( ITypeDetails t ) : string
GetGenericParameterTypeName ( ITypeDetails parameterType, IEnumerable orderedTypeContext ) : string
GetMatchFromType ( ITypeDetails t ) : Match
GetMatcherFromTarget ( InstrumentationTarget target ) : ExactMethodMatcher

메소드 상세

LoadRenderedFromStream() 공개 정적인 메소드

Generates an in-memory representation of a New Relic custom instrumentation XML file from the specified stream.
public static LoadRenderedFromStream ( Stream stream ) : Extension
stream Stream The stream from which the document should be loaded.
리턴 Extension

Render() 공개 정적인 메소드

Creates an XML-renderable Extension object that represents the instrumentation settings specified by the supplied list of targets.
public static Render ( IEnumerable targets ) : Extension
targets IEnumerable The set of targets to be instrumented.
리턴 Extension

RenderToStream() 공개 정적인 메소드

Renders a supplied Extension object to a specified stream as a New Relic-compatible XML document.
public static RenderToStream ( Extension extension, Stream stream ) : void
extension Extension The Extension object to be rendered.
stream Stream The stream to which the XML document should be rendered.
리턴 void

RenderToStream() 공개 정적인 메소드

Renders a supplied collection of instrumentation targets to a specified stream as a New Relic-compatible XML document.
public static RenderToStream ( IEnumerable targets, Stream stream ) : void
targets IEnumerable The set of targets to be instrumented.
stream Stream The stream to which the XML document should be rendered.
리턴 void