@@ -66,49 +66,46 @@ public virtual void Destroy()
6666
6767 #region IMixedRealityServiceState Implementation
6868
69- protected bool ? isInitialized = null ;
69+ private bool ? isInitialized = null ;
7070
7171 /// <inheritdoc />
7272 public virtual bool IsInitialized
7373 {
7474 get
7575 {
76- Debug . Assert ( isInitialized . HasValue , $ "{ this . GetType ( ) } has not set a value for IsInitialized, returning false.") ;
76+ Debug . Assert ( isInitialized . HasValue , $ "{ GetType ( ) } has not set a value for IsInitialized, returning false.") ;
7777 return isInitialized ?? false ;
7878 }
7979
80- set => isInitialized = value ;
80+ protected set => isInitialized = value ;
8181 }
8282
83- protected bool ? isEnabled = null ;
83+ private bool ? isEnabled = null ;
8484
8585 /// <inheritdoc />
8686 public virtual bool IsEnabled
8787 {
8888 get
8989 {
90- Debug . Assert ( isEnabled . HasValue , $ "{ this . GetType ( ) } has not set a value for IsEnabled, returning false.") ;
90+ Debug . Assert ( isEnabled . HasValue , $ "{ GetType ( ) } has not set a value for IsEnabled, returning false.") ;
9191 return isEnabled ?? false ;
9292 }
9393
94- set => isEnabled = value ;
94+ protected set => isEnabled = value ;
9595 }
9696
97- /// <summary>
98- ///
99- /// </summary>
100- protected bool ? isMarkedDestroyed = null ;
97+ private bool ? isMarkedDestroyed = null ;
10198
10299 /// <inheritdoc />
103100 public virtual bool IsMarkedDestroyed
104101 {
105102 get
106103 {
107- Debug . Assert ( isMarkedDestroyed . HasValue , $ "{ this . GetType ( ) } has not set a value for IsMarkedDestroyed, returning false.") ;
104+ Debug . Assert ( isMarkedDestroyed . HasValue , $ "{ GetType ( ) } has not set a value for IsMarkedDestroyed, returning false.") ;
108105 return isMarkedDestroyed ?? false ;
109106 }
110107
111- set => isMarkedDestroyed = value ;
108+ protected set => isMarkedDestroyed = value ;
112109 }
113110
114111 #endregion IMixedRealityServiceState Implementation
0 commit comments