@@ -365,7 +365,7 @@ public sealed class LauncherOptions
365365 /// 检查APM监控端口
366366 /// </summary>
367367 /// <exception cref="ArgumentOutOfRangeException"></exception>
368- public void CheckApmPort ( )
368+ internal void CheckApmPort ( )
369369 {
370370 if ( APMPort <= 10000 || APMPort >= ushort . MaxValue )
371371 {
@@ -377,7 +377,7 @@ public void CheckApmPort()
377377 /// 检查ServerId
378378 /// </summary>
379379 /// <exception cref="ArgumentOutOfRangeException"></exception>
380- public void CheckServerId ( )
380+ internal void CheckServerId ( )
381381 {
382382 if ( ServerId <= 0 )
383383 {
@@ -389,7 +389,7 @@ public void CheckServerId()
389389 /// 检查InnerIp
390390 /// </summary>
391391 /// <exception cref="ArgumentNullException"></exception>
392- public void CheckInnerIp ( )
392+ internal void CheckInnerIp ( )
393393 {
394394 if ( string . IsNullOrWhiteSpace ( InnerIp ) )
395395 {
@@ -401,7 +401,7 @@ public void CheckInnerIp()
401401 /// 检查内部端口
402402 /// </summary>
403403 /// <exception cref="ArgumentOutOfRangeException"></exception>
404- public void CheckInnerPort ( )
404+ internal void CheckInnerPort ( )
405405 {
406406 if ( InnerPort <= 10000 || InnerPort >= ushort . MaxValue )
407407 {
@@ -413,7 +413,7 @@ public void CheckInnerPort()
413413 /// 检查OuterIp
414414 /// </summary>
415415 /// <exception cref="ArgumentNullException"></exception>
416- public void CheckOuterIp ( )
416+ internal void CheckOuterIp ( )
417417 {
418418 if ( string . IsNullOrWhiteSpace ( OuterIp ) )
419419 {
@@ -425,7 +425,7 @@ public void CheckOuterIp()
425425 /// 检查外部端口
426426 /// </summary>
427427 /// <exception cref="ArgumentOutOfRangeException"></exception>
428- public void CheckOuterPort ( )
428+ internal void CheckOuterPort ( )
429429 {
430430 if ( OuterPort <= 10000 || OuterPort >= ushort . MaxValue )
431431 {
@@ -437,7 +437,7 @@ public void CheckOuterPort()
437437 /// 检查HttpUrl
438438 /// </summary>
439439 /// <exception cref="ArgumentNullException"></exception>
440- public void CheckHttpUrl ( )
440+ internal void CheckHttpUrl ( )
441441 {
442442 if ( HttpUrl . IsNullOrEmptyOrWhiteSpace ( ) )
443443 {
@@ -460,7 +460,7 @@ public void CheckHttpUrl()
460460 /// 检查HttpPort
461461 /// </summary>
462462 /// <exception cref="ArgumentOutOfRangeException"></exception>
463- public void CheckHttpPort ( )
463+ internal void CheckHttpPort ( )
464464 {
465465 if ( HttpPort <= 10000 || HttpPort >= ushort . MaxValue )
466466 {
@@ -472,7 +472,7 @@ public void CheckHttpPort()
472472 /// 检查HttpsPort
473473 /// </summary>
474474 /// <exception cref="ArgumentOutOfRangeException"></exception>
475- public void CheckHttpsPort ( )
475+ internal void CheckHttpsPort ( )
476476 {
477477 if ( HttpsPort <= 10000 || HttpsPort >= ushort . MaxValue )
478478 {
@@ -484,7 +484,7 @@ public void CheckHttpsPort()
484484 /// 检查WsPort
485485 /// </summary>
486486 /// <exception cref="ArgumentOutOfRangeException"></exception>
487- public void CheckWsPort ( )
487+ internal void CheckWsPort ( )
488488 {
489489 if ( WsPort <= 10000 || WsPort >= ushort . MaxValue )
490490 {
@@ -496,7 +496,7 @@ public void CheckWsPort()
496496 /// 检查MinModuleId
497497 /// </summary>
498498 /// <exception cref="ArgumentOutOfRangeException"></exception>
499- public void CheckMinModuleId ( )
499+ internal void CheckMinModuleId ( )
500500 {
501501 if ( MinModuleId <= 0 || MinModuleId >= short . MaxValue - 10 )
502502 {
@@ -508,7 +508,7 @@ public void CheckMinModuleId()
508508 /// 检查MaxModuleId
509509 /// </summary>
510510 /// <exception cref="ArgumentOutOfRangeException"></exception>
511- public void CheckMaxModuleId ( )
511+ internal void CheckMaxModuleId ( )
512512 {
513513 if ( MaxModuleId <= 0 || MaxModuleId >= short . MaxValue - 10 )
514514 {
@@ -520,7 +520,7 @@ public void CheckMaxModuleId()
520520 /// 检查WssPort
521521 /// </summary>
522522 /// <exception cref="ArgumentOutOfRangeException"></exception>
523- public void CheckWssPort ( )
523+ internal void CheckWssPort ( )
524524 {
525525 if ( WssPort <= 10000 || WssPort >= ushort . MaxValue )
526526 {
@@ -532,7 +532,7 @@ public void CheckWssPort()
532532 /// 检查WssCertFilePath
533533 /// </summary>
534534 /// <exception cref="ArgumentNullException"></exception>
535- public void CheckWssCertFilePath ( )
535+ internal void CheckWssCertFilePath ( )
536536 {
537537 if ( string . IsNullOrWhiteSpace ( WssCertFilePath ) )
538538 {
@@ -544,7 +544,7 @@ public void CheckWssCertFilePath()
544544 /// 检查DataBaseUrl
545545 /// </summary>
546546 /// <exception cref="ArgumentNullException"></exception>
547- public void CheckDataBaseUrl ( )
547+ internal void CheckDataBaseUrl ( )
548548 {
549549 if ( string . IsNullOrWhiteSpace ( DataBaseUrl ) )
550550 {
@@ -556,7 +556,7 @@ public void CheckDataBaseUrl()
556556 /// 检查DataBaseName
557557 /// </summary>
558558 /// <exception cref="ArgumentNullException"></exception>
559- public void CheckDataBaseName ( )
559+ internal void CheckDataBaseName ( )
560560 {
561561 if ( string . IsNullOrWhiteSpace ( DataBaseName ) )
562562 {
@@ -568,7 +568,7 @@ public void CheckDataBaseName()
568568 /// 检查DiscoveryCenterIp
569569 /// </summary>
570570 /// <exception cref="ArgumentNullException"></exception>
571- public void CheckDiscoveryCenterIp ( )
571+ internal void CheckDiscoveryCenterIp ( )
572572 {
573573 if ( string . IsNullOrWhiteSpace ( DiscoveryCenterIp ) )
574574 {
@@ -580,7 +580,7 @@ public void CheckDiscoveryCenterIp()
580580 /// 检查DiscoveryCenterPort
581581 /// </summary>
582582 /// <exception cref="ArgumentOutOfRangeException"></exception>
583- public void CheckDiscoveryCenterPort ( )
583+ internal void CheckDiscoveryCenterPort ( )
584584 {
585585 if ( DiscoveryCenterPort <= 10000 || DiscoveryCenterPort >= ushort . MaxValue )
586586 {
@@ -592,7 +592,7 @@ public void CheckDiscoveryCenterPort()
592592 /// 检查DBIp
593593 /// </summary>
594594 /// <exception cref="ArgumentNullException"></exception>
595- public void CheckDbIp ( )
595+ internal void CheckDbIp ( )
596596 {
597597 if ( string . IsNullOrWhiteSpace ( DBIp ) )
598598 {
@@ -604,7 +604,7 @@ public void CheckDbIp()
604604 /// 检查数据库服务连接端口
605605 /// </summary>
606606 /// <exception cref="ArgumentOutOfRangeException"></exception>
607- public void CheckDbPort ( )
607+ internal void CheckDbPort ( )
608608 {
609609 if ( DBPort <= 10000 || DBPort >= ushort . MaxValue )
610610 {
0 commit comments