FreezableCollection<T>.FreezeCore(Boolean) メソッド
定義
FreezableCollection<T> オブジェクトを変更不可能な状態にするか、変更不可能な状態にできるかどうかを判断します。Makes this FreezableCollection<T> object unmodifiable or determines whether it can be made unmodifiable.
protected:
override bool FreezeCore(bool isChecking);
protected override bool FreezeCore (bool isChecking);
override this.FreezeCore : bool -> bool
Protected Overrides Function FreezeCore (isChecking As Boolean) As Boolean
パラメーター
- isChecking
- Boolean
FreezableCollection<T> インスタンスが固定できるかどうかを返すだけの場合は true
。true
if the FreezableCollection<T> should simply return whether it can be frozen. このメソッドの呼び出し時に、FreezableCollection<T> インスタンスが実際に自身を固定する場合は false
。false
if the FreezableCollection<T> instance should actually freeze itself when this method is called.
戻り値
isChecking
が true
のときに、この FreezableCollection<T> を変更不可能な状態にできる場合、このメソッドは true
を返します。変更不可能な状態にできない場合は false
を返します。If isChecking
is true
, this method returns true
if this FreezableCollection<T> can be made unmodifiable, or false
if it cannot be made unmodifiable.
isChecking
が false
のときに、指定した FreezableCollection<T> が現在変更不可能な状態であれば、このメソッドは true
を返します。このオブジェクトの固定ステータスの変更を開始した影響で、変更不可能な状態にできない場合は false
を返します。If isChecking
is false
, this method returns true
if the if the specified FreezableCollection<T> is now unmodifiable, or false
if it cannot be made unmodifiable, with the side effect of having begun to change the frozen status of this object.
注釈
このメソッドを直接呼び出さないでください (実装で base を呼び出す場合を除きます)。Do not call this method directly (except when calling base in an implementation). このメソッドは、 CanFreeze (と isChecking
等しい true
) と (がと Freeze isChecking
等しい) によって内部的に呼び出され false
ます。This method is called internally by CanFreeze (with isChecking
equal to true
) and Freeze (with isChecking
equal to false
).
注意 (継承者)
このメソッドをオーバーライドするタイミングの詳細については、「」を参照してください FreezeCore(Boolean) 。For information about when to override this method, see FreezeCore(Boolean).