public bool EqTo(BasicSettings target) { if (target == null || alias != target.alias || description != target.description || port != target.port || address != target.address || isUseTls != target.isUseTls || isSecTls != target.isSecTls || streamType != target.streamType || streamParam1 != target.streamParam1 || streamParam2 != target.streamParam2 || streamParam3 != target.streamParam3) { return(false); } return(true); }
public void CopyFrom(BasicSettings streamSettings) { if (streamSettings == null) { return; } alias = streamSettings.alias; description = streamSettings.description; port = streamSettings.port; address = streamSettings.address; isUseTls = streamSettings.isUseTls; isSecTls = streamSettings.isSecTls; streamType = streamSettings.streamType; streamParam1 = streamSettings.streamParam1; streamParam2 = streamSettings.streamParam2; streamParam3 = streamSettings.streamParam3; }
public void CopyFrom(BasicSettings source) { if (source == null) { return; } alias = source.alias; description = source.description; port = source.port; address = source.address; isUseTls = source.isUseTls; tlsType = source.tlsType; tlsServName = source.tlsServName; isSecTls = source.isSecTls; streamType = source.streamType; streamParam1 = source.streamParam1; streamParam2 = source.streamParam2; streamParam3 = source.streamParam3; }
public Vless4b(BasicSettings source) : this() { CopyFrom(source); }
public Socks2a(BasicSettings source) : this() { CopyFrom(source); }
public Vmess0a(BasicSettings source) : this() { CopyFrom(source); }
public Http3b(BasicSettings source) : this() { CopyFrom(source); }
public Trojan5c(BasicSettings source) : this() { CopyFrom(source); }
public Ss1c(BasicSettings source) : this() { CopyFrom(source); }