public ECPointFormatsExtension( EndConfig endConfig, ECPointFormatsConfig ecPointFormatsConfig) { _endConfig = endConfig; _ecPointFormatsConfig = ecPointFormatsConfig; }
public InitialServerState( IServiceProvider serviceProvider, EndConfig endConfig) { _serviceProvider = serviceProvider; _endConfig = endConfig; }
public SupportedGroupsExtension( NamedCurvesRegistry namedCurvesRegistry, SupportedGroupsConfig supportedGroupsConfig, EndConfig endConfig) { _namedCurvesRegistry = namedCurvesRegistry; _supportedGroupsConfig = supportedGroupsConfig; _endConfig = endConfig; }
public HandshakeFinishedService( ICipherSuitesProvider cipherSuitesProvider, CipherSuiteConfig cipherSuiteConfig, EndConfig endConfig, HandshakeConfig handshakeConfig, KeyConfig keyConfig) { _cipherSuitesProvider = cipherSuitesProvider; _cipherSuiteConfig = cipherSuiteConfig; _endConfig = endConfig; _handshakeConfig = handshakeConfig; _keyConfig = keyConfig; }
private HandleCertificateState( IServiceProvider serviceProvider, EndConfig endConfig, CertificateConfig certificateConfig, CertificateMessage handshake) { _serviceProvider = serviceProvider; _endConfig = endConfig; _certificateConfig = certificateConfig; _handshake = handshake; }
void Win() { m_isWin = true; EndConfig end = new EndConfig(); for (int i = 0; i < ConfigManager.Instance.EndConfigData.Count; i++) { if (Attribute.Like(LevelAttribute, ConfigManager.Instance.EndConfigData[i + 1])) { end = ConfigManager.Instance.EndConfigData[i + 1]; } } Debug.Log(end.Id); Debug.Log(LevelAttribute.Love + "," + LevelAttribute.Responsibility + "," + LevelAttribute.Stress); UIManager.Instance.Open("GameOver", true, end.Text); }
public static bool Like(Attribute attribute, EndConfig end) { if (!LikeHelp((int)attribute.Love, end.Symbol[0], (int)end.Value.x)) { return(false); } if (!LikeHelp((int)attribute.Responsibility, end.Symbol[1], (int)end.Value.y)) { return(false); } if (!LikeHelp((int)attribute.Stress, end.Symbol[2], (int)end.Value.z)) { return(false); } return(true); }
public SignatureAlgorithmsExtension( ICipherSuitesProvider cipherSuiteProvider, CipherSuitesRegistry cipherSuitesRegistry, HashAlgorithmRegistry hashAlgorithmRegistry, SignatureAlgorithmsRegistry signatureAlgorithmsRegistry, EndConfig endConfig, Config config) { _cipherSuiteProvider = cipherSuiteProvider; _cipherSuitesRegistry = cipherSuitesRegistry; _hashAlgorithmRegistry = hashAlgorithmRegistry; _signatureAlgorithmsRegistry = signatureAlgorithmsRegistry; _endConfig = endConfig; _config = config; }
public CipherStrategy( ICipherSuitesProvider cipherSuitesProvider, Connection connection, EndConfig endConfig, SequenceConfig sequenceConfig, BlockCipherConfig blockCipherConfig, CipherSuiteConfig cipherSuiteConfig) { _cipherSuitesProvider = cipherSuitesProvider; _connection = connection; _endConfig = endConfig; _sequenceConfig = sequenceConfig; _blockCipherConfig = blockCipherConfig; _cipherSuiteConfig = cipherSuiteConfig; }
public AEADCipherStrategy( IRandom random, ICipherSuitesProvider cipherSuitesProvider, Connection connection, CipherSuiteConfig cipherSuiteConfig, SequenceConfig sequenceConfig, EndConfig endConfig, AEADCipherConfig aeadConfig) { _random = random; _cipherSuitesProvider = cipherSuitesProvider; _connection = connection; _cipherSuiteConfig = cipherSuiteConfig; _sequenceConfig = sequenceConfig; _endConfig = endConfig; _aeadConfig = aeadConfig; }
public async Task Close() { await Task.Run(() => EndConfig?.Invoke(false)); }
public async Task Save() { await grimoireBusiness.SaveConfig(config); await Task.Run(() => EndConfig?.Invoke(true)); }