private object CopyIfFreezable(object o) { Freezable freezable = o as Freezable; if (freezable == null) { return(o); } try { return((object)freezable.CloneCurrentValue()); } catch { return((object)(Freezable)null); } }
private object CopyIfFreezable(object o) { Freezable freezable = o as Freezable; if (freezable == null) { return(o); } try { return((object)freezable.CloneCurrentValue()); } catch { return((object)(Freezable)null); } }