本文整理汇总了C#中IOutputWriter类的典型用法代码示例。如果您正苦于以下问题:C# IOutputWriter类的具体用法?C# IOutputWriter怎么用?C# IOutputWriter使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IOutputWriter类属于命名空间,在下文中一共展示了IOutputWriter类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: APMThreadRunner
public APMThreadRunner(IOutputWriter output, IProgress progress, string sampleLogFileName, ICountingDictionary countingDictionary)
{
this.output = output;
this.progress = progress;
this.sampleLogFileName = sampleLogFileName;
this.countingDictionary = countingDictionary;
}
示例2: RenderJavaScriptBehavior
public RenderJavaScriptBehavior(IOutputWriter writer, IFubuRequest request)
: base(PartialBehavior.Executes)
{
_writer = writer;
_request = request;
_mimeType = "text/javascript";
}
示例3: BootstrapAuthorizationFailureHandler
public BootstrapAuthorizationFailureHandler(IOutputWriter writer, IRequestData requestData, IUrlRegistry urlRegistry, IHttpRequest currentHttpRequest)
{
_writer = writer;
_requestData = requestData;
_urlRegistry = urlRegistry;
_currentHttpRequest = currentHttpRequest;
}
示例4: AjaxAuthenticationRedirect
public AjaxAuthenticationRedirect(IRequestData data, IJsonWriter jsonWriter, IOutputWriter outputWriter, IUrlRegistry urls)
{
_data = data;
_jsonWriter = jsonWriter;
_outputWriter = outputWriter;
_urls = urls;
}
示例5: WriteCalls
private static void WriteCalls(IEnumerable<CallInfo> callInfos, IOutputWriter writer)
{
var lastCall = callInfos.Last();
var numberOfDigitsInLastCallNumber = lastCall.NumberOfDigitsInCallNumber();
foreach (var call in callInfos)
{
if (call.CallNumber > 1)
{
writer.WriteLine();
}
writer.Write(call.CallNumber);
writer.Write(": ");
WriteSpaces(writer, numberOfDigitsInLastCallNumber - call.NumberOfDigitsInCallNumber());
using (writer.Indent())
{
writer.Write(call.StringRepresentation);
}
if (call.Repeat > 1)
{
writer.Write(" repeated ");
writer.Write(call.Repeat);
writer.Write(" times");
writer.WriteLine();
writer.Write("...");
}
}
}
示例6: Engine
public Engine(ICreateBlobFactory blob, IBlobData data, IInputReader reader, IOutputWriter writer)
{
this.createBlob = blob;
this.data = data;
this.reader = reader;
this.writer = writer;
}
示例7: Engine
public Engine(IInputReader reader, IOutputWriter writer, ICommandManager commandManager)
{
this.writer = writer;
this.reader = reader;
this.commandManager = commandManager;
this.commandManager.Engine = this;
}
示例8: TwitterResponseHandler
public TwitterResponseHandler(IFubuRequest request, IOutputWriter writer, IPartialFactory factory, BehaviorGraph graph)
{
_request = request;
_writer = writer;
_factory = factory;
_graph = graph;
}
示例9: RenderCssBehavior
public RenderCssBehavior(IOutputWriter writer, IFubuRequest request)
: base(PartialBehavior.Executes)
{
_writer = writer;
_request = request;
_mimeType = "text/css";
}
示例10: AjaxValidationFailureHandler
public AjaxValidationFailureHandler(IAjaxContinuationResolver resolver, IOutputWriter output, IFubuRequest request, ValidationSettings settings)
{
_resolver = resolver;
_output = output;
_request = request;
_settings = settings;
}
示例11: AppendCallList
private void AppendCallList(IOutputWriter writer)
{
using (writer.Indent())
{
this.callWriter.WriteCalls(this.Calls, writer);
}
}
示例12: MovieViewModelJsonBehavior
public MovieViewModelJsonBehavior(IOutputWriter writer, IFubuRequest request, IRequestData requestData)
: base(PartialBehavior.Executes)
{
this.writer = writer;
this.request = request;
this.requestData = requestData;
}
示例13: ContentWriter
public ContentWriter(IImageWriter images, IContentPlanExecutor executor, IResponseCaching caching, IOutputWriter writer)
{
_images = images;
_executor = executor;
_caching = caching;
_writer = writer;
}
示例14: AuthenticationRequiredBehavior
public AuthenticationRequiredBehavior(ISecurityContext securityContext, IUrlRegistry urlRegistry, IOutputWriter outputWriter)
: base(PartialBehavior.Ignored)
{
_securityContext = securityContext;
_urlRegistry = urlRegistry;
_outputWriter = outputWriter;
}
示例15: AuthenticationService
public AuthenticationService(IRequest request, IOutputWriter outputWriter, BasicAuthenticationCookieConfiguration basicAuthenticationCookieConfiguration, IEncryptionService encryptionService)
{
this.request = request;
this.outputWriter = outputWriter;
this.basicAuthenticationCookieConfiguration = basicAuthenticationCookieConfiguration;
this.encryptionService = encryptionService;
}