コード例 #1
0
ファイル: Endpoint.cs プロジェクト: JonasSyrstad/Stardust
 public void SetFromRawData(Interstellar.ConfigurationReader.Endpoint endpoint, ConfigurationContext repository)
 {
     CreateParameter("Address", endpoint.Address, repository);
     CreateParameter("Audience", endpoint.Audience, repository);
     CreateParameter("CertificateValidationMode", endpoint.CertificateValidationMode, repository);
     CreateParameter("CloseTimeout", endpoint.CloseTimeout, repository);
     CreateParameter("Durable", endpoint.Durable, repository);
     CreateParameter("ExactlyOnce", endpoint.ExactlyOnce, repository);
     CreateParameter("Ignore", endpoint.Ignore, repository);
     CreateParameter("IssuerActAsAddress", endpoint.IssuerActAsAddress, repository);
     CreateParameter("HostNameComparisonMode", endpoint.HostNameComparisonMode, repository);
     CreateParameter("IssuerAddress", endpoint.IssuerAddress, repository);
     CreateParameter("IssuerMetadataAddress", endpoint.IssuerMetadataAddress, repository);
     CreateParameter("IssuerName", endpoint.IssuerName, repository);
     CreateParameter("MaxBufferPoolSize", endpoint.MaxBufferPoolSize, repository);
     CreateParameter("MaxBufferSize", endpoint.MaxBufferSize, repository);
     CreateParameter("MaxConnections", endpoint.MaxConnections, repository);
     CreateParameter("MaxMessageSize", endpoint.MaxMessageSize, repository);
     CreateParameter("MaxReceivedSize", endpoint.MaxReceivedSize, repository);
     CreateParameter("MessageFormat", endpoint.MessageFormat, repository);
     CreateParameter("TransferMode", endpoint.TransferMode, repository);
     CreateParameter("OpenTimeout", endpoint.OpenTimeout, repository);
     CreateParameter("OverrideSslSecurity", endpoint.OverrideSslSecurity, repository);
     CreateParameter("ReceiveTimeout", endpoint.ReceiveTimeout, repository);
     CreateParameter("SendTimeout", endpoint.SendTimeout, repository);
     CreateParameter("StsAddress", endpoint.StsAddress, repository);
     CreateParameter("TextEncoding", endpoint.TextEncoding, repository);
     CreateParameter("Thumbprint", endpoint.Thumbprint, repository);
 }
コード例 #2
0
 private static string GetConnectionString(Interstellar.ConfigurationReader.CacheSettings caceSettings)
 {
     return string.Format(connectionStringFormat, caceSettings.MachineNames, caceSettings.Secure.ToString().ToLower(), caceSettings.PassPhrase);
 }