public bool IsResourceModified(PhactoryHost.Database.Resource resource) { View.View view = null; try { view = viewBinding[resource].View; } catch (KeyNotFoundException) { return(false); } return(view.IsModified()); }
public bool IsResourceModified(PhactoryHost.Database.Resource resource) { try { View.View view = viewBinding[resource].View; if (view != null) { if (view.IsModified()) { return(true); } } } catch { } return(false); }
public bool IsResourceModified(PhactoryHost.Database.Resource resource) { View.View view = viewBinding[resource].View; return(view.IsModified()); }