当前位置: 首页>>代码示例>>C#>>正文


C# IOutputWriter类代码示例

本文整理汇总了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;
 }
开发者ID:KeesDijk,项目名称:AsyncDemo,代码行数:7,代码来源:APMThreadRunner.cs

示例2: RenderJavaScriptBehavior

 public RenderJavaScriptBehavior(IOutputWriter writer, IFubuRequest request)
     : base(PartialBehavior.Executes)
 {
     _writer = writer;
     _request = request;
     _mimeType = "text/javascript";
 }
开发者ID:sharpoverride,项目名称:fubumvc-examples,代码行数:7,代码来源:RenderJavascriptBehaviour.cs

示例3: BootstrapAuthorizationFailureHandler

 public BootstrapAuthorizationFailureHandler(IOutputWriter writer, IRequestData requestData, IUrlRegistry urlRegistry, IHttpRequest currentHttpRequest)
 {
     _writer = writer;
     _requestData = requestData;
     _urlRegistry = urlRegistry;
     _currentHttpRequest = currentHttpRequest;
 }
开发者ID:modulexcite,项目名称:dovetail-bootstrap,代码行数:7,代码来源:BootstrapAuthorizationFailureHandler.cs

示例4: AjaxAuthenticationRedirect

		public AjaxAuthenticationRedirect(IRequestData data, IJsonWriter jsonWriter, IOutputWriter outputWriter, IUrlRegistry urls)
		{
			_data = data;
			_jsonWriter = jsonWriter;
			_outputWriter = outputWriter;
			_urls = urls;
		}
开发者ID:mtscout6,项目名称:FubuMVC.Authentication,代码行数:7,代码来源:AjaxAuthenticationRedirect.cs

示例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("...");
                }
            }
        }
开发者ID:NameOfTheDragon,项目名称:FakeItEasy,代码行数:32,代码来源:CallWriter.cs

示例6: Engine

 public Engine(ICreateBlobFactory blob, IBlobData data, IInputReader reader, IOutputWriter writer)
 {
     this.createBlob = blob;
     this.data = data;
     this.reader = reader;
     this.writer = writer;
 }
开发者ID:bulgariamitko,项目名称:SoftUniHomeWordsAndMore,代码行数:7,代码来源:Engine.cs

示例7: Engine

 public Engine(IInputReader reader, IOutputWriter writer, ICommandManager commandManager)
 {
     this.writer = writer;
     this.reader = reader;
     this.commandManager = commandManager;
     this.commandManager.Engine = this;
 }
开发者ID:Team-Goldenrod,项目名称:SupermarketsChain,代码行数:7,代码来源:Engine.cs

示例8: TwitterResponseHandler

 public TwitterResponseHandler(IFubuRequest request, IOutputWriter writer, IPartialFactory factory, BehaviorGraph graph)
 {
     _request = request;
     _writer = writer;
     _factory = factory;
     _graph = graph;
 }
开发者ID:RobertTheGrey,项目名称:FubuMVC.Authentication,代码行数:7,代码来源:TwitterResponseHandler.cs

示例9: RenderCssBehavior

 public RenderCssBehavior(IOutputWriter writer, IFubuRequest request)
     : base(PartialBehavior.Executes)
 {
     _writer = writer;
     _request = request;
     _mimeType = "text/css";
 }
开发者ID:sharpoverride,项目名称:fubumvc-examples,代码行数:7,代码来源:RenderCssBehaviour.cs

示例10: AjaxValidationFailureHandler

 public AjaxValidationFailureHandler(IAjaxContinuationResolver resolver, IOutputWriter output, IFubuRequest request, ValidationSettings settings)
 {
     _resolver = resolver;
     _output = output;
     _request = request;
     _settings = settings;
 }
开发者ID:stevematney,项目名称:fubuvalidation,代码行数:7,代码来源:IAjaxValidationFailureHandler.cs

示例11: AppendCallList

 private void AppendCallList(IOutputWriter writer)
 {
     using (writer.Indent())
     {
         this.callWriter.WriteCalls(this.Calls, writer);
     }
 }
开发者ID:rajeshpillai,项目名称:FakeItEasy,代码行数:7,代码来源:FakeAsserter.cs

示例12: MovieViewModelJsonBehavior

 public MovieViewModelJsonBehavior(IOutputWriter writer, IFubuRequest request, IRequestData requestData)
     : base(PartialBehavior.Executes)
 {
     this.writer = writer;
     this.request = request;
     this.requestData = requestData;
 }
开发者ID:squidge,项目名称:fubu101,代码行数:7,代码来源:MovieViewModelJSONBehavior.cs

示例13: ContentWriter

 public ContentWriter(IImageWriter images, IContentPlanExecutor executor, IResponseCaching caching, IOutputWriter writer)
 {
     _images = images;
     _executor = executor;
     _caching = caching;
     _writer = writer;
 }
开发者ID:hartez,项目名称:fubumvc,代码行数:7,代码来源:ContentWriter.cs

示例14: AuthenticationRequiredBehavior

 public AuthenticationRequiredBehavior(ISecurityContext securityContext, IUrlRegistry urlRegistry, IOutputWriter outputWriter)
     : base(PartialBehavior.Ignored)
 {
     _securityContext = securityContext;
     _urlRegistry = urlRegistry;
     _outputWriter = outputWriter;
 }
开发者ID:henninga,项目名称:FubuDate,代码行数:7,代码来源:AuthenticationRequiredBehavior.cs

示例15: AuthenticationService

 public AuthenticationService(IRequest request, IOutputWriter outputWriter, BasicAuthenticationCookieConfiguration basicAuthenticationCookieConfiguration, IEncryptionService encryptionService)
 {
     this.request = request;
     this.outputWriter = outputWriter;
     this.basicAuthenticationCookieConfiguration = basicAuthenticationCookieConfiguration;
     this.encryptionService = encryptionService;
 }
开发者ID:UStack,项目名称:UWeb,代码行数:7,代码来源:AuthenticationService.cs


注:本文中的IOutputWriter类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。