Freezable.FreezeCore(Boolean) 메서드
정의
protected:
virtual bool FreezeCore(bool isChecking);
protected virtual bool FreezeCore (bool isChecking);
abstract member FreezeCore : bool -> bool
override this.FreezeCore : bool -> bool
Protected Overridable Function FreezeCore (isChecking As Boolean) As Boolean
매개 변수
- isChecking
- Boolean
개체를 실제로 고정하지 않고 고정할 수 있는지 여부를 반환하려면 true
이고, 개체를 실제로 고정하려면 false
입니다.true
to return an indication of whether the object can be frozen (without actually freezing it); false
to actually freeze the object.
반환
isChecking
이 true
인 경우 이 메서드는 Freezable을 수정할 수 없게 만들 수 있으면 true
를, 그렇지 않으면 false
를 반환합니다.If isChecking
is true
, this method returns true
if the Freezable can be made unmodifiable, or false
if it cannot be made unmodifiable. isChecking
이 false
인 경우 이 메서드는 지정된 Freezable을 이제 수정할 수 없으면 true
를, 수정할 수 없게 만들 수 없으면 false
를 반환합니다.If isChecking
is false
, this method returns true
if the if the specified Freezable is now unmodifiable, or false
if it cannot be made unmodifiable.
설명
직접 (제외 하면 기본 구현에서 호출)이이 메서드를 호출 하지 마세요.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 the CanFreeze property (with isChecking
equal to true
) and the Freeze method (with isChecking
equal to false
).
상속자 참고
Freezable 구현자는 클래스는 종속성 속성을 사용 하 여 저장 되지 않은 데이터를 포함 하는 경우이 메서드를 재정의 해야 합니다. Freezable implementers must override this method when the class contains data that is not stored using dependency properties. 일반적인 구현은 기본를 호출한 다음 정적 호출 Freeze(Freezable, Boolean) 메서드를 모두 Freezable 형식의 반환을 클래스에 들어 있는 속성을true
또는 경우에 모든 속성이 고정 된 (수 있는 고정 된을 지정 하는 경우 true
에 대 한 isChecking
).A typical implementation would call base, then call the static Freeze(Freezable, Boolean) method on all Freezable typed properties that the class contains, returning true
only if all properties were frozen (or could have been frozen, in the case of specifying true
for isChecking
).