콘텐츠로 이동

IFreezable interface

이 콘텐츠는 아직 번역되지 않았습니다.

Implemented by objects that can be frozen (made immutable) to enable backend-level caching of native handles or compiled resources.

public interface IFreezable
name description
IsFrozen { get; } Gets a value indicating whether the object has been frozen.
Freeze() Freezes the object, preventing further mutation. After freezing, the object may be cached by backends (e.g. a compiled PathGeometry native handle). Calling Freeze on an already-frozen object is a no-op.