コード例 #1
0
 public CommandListCreator(IHostInfo hostInfo, 
     IMailMessageConverter<List<RecipientCommand>> recipientConverter,
     IMailMessageConverter<DataBodyCommand> dataCommandConverter)
 {
     _recipientConverter = recipientConverter;
     _hostInfo = hostInfo;
     _dataCommandConverter = dataCommandConverter;
 }
コード例 #2
0
 public CommandListCreator(IHostInfo hostInfo,
                           IMailMessageConverter <List <RecipientCommand> > recipientConverter,
                           IMailMessageConverter <DataBodyCommand> dataCommandConverter)
 {
     _recipientConverter   = recipientConverter;
     _hostInfo             = hostInfo;
     _dataCommandConverter = dataCommandConverter;
 }
コード例 #3
0
 public ServiceHostDiagnostics(ILogger <ServiceHostDiagnostics> log,
                               IEnumerable <IServiceAssemblyManifest> serviceAssemblies,
                               IHostInfo hostInfo)
 {
     _log = log ?? NullLogger <ServiceHostDiagnostics> .Instance;
     _serviceAssemblies = serviceAssemblies;
     _hostInfo          = hostInfo;
 }
コード例 #4
0
        public IList <IPinningInfo> getPinningInfo(string url)
        {
            URLParser uRLParser = new URLParser(url);
            string    host      = uRLParser.getHost();

            if (host != null && this.hostInfo.ContainsKey(host))
            {
                IHostInfo hostInfo = this.hostInfo[host];
                if (hostInfo != null)
                {
                    string commonName = hostInfo.getCommonName();
                    if (commonName != null && pinningInfo.ContainsKey(commonName))
                    {
                        return(pinningInfo[commonName]);
                    }
                }
            }
            return(null);
        }
コード例 #5
0
 public ServiceHostDiagnostics(ILogger <ServiceHostDiagnostics> log, IHostInfo hostInfo)
 {
     _log      = log ?? NullLogger <ServiceHostDiagnostics> .Instance;
     _hostInfo = hostInfo;
 }
コード例 #6
0
ファイル: SafNodeInfo.cs プロジェクト: TRUMPF-IoT/saf
 public SafNodeInfo(IHostInfo hostInfo, IEnumerable <IServiceAssemblyManifest> serviceAssemblies)
 {
     _hostInfo   = hostInfo;
     SafServices = ReadServiceInfos(serviceAssemblies);
 }
コード例 #7
0
 public StreamFactory(IHostInfo hostInfo)
 {
     _hostInfo = hostInfo;
 }
コード例 #8
0
 public CdeNodeInfo(IHostInfo hostInfo)
 {
     _hostInfo = hostInfo;
 }
コード例 #9
0
 public OperatorEventInfo(string operatorNumber, EventReason reason, IHostInfo hostInfo)
 {
     this.OperatorNumber = operatorNumber;
     this.Reason = reason;
     this.HostInfo = hostInfo;
 }