Ejemplo n.º 1
0
        public bool IsResourceModified(PhactoryHost.Database.Resource resource)
        {
            View.View view = null;

            try
            {
                view = viewBinding[resource].View;
            }
            catch (KeyNotFoundException)
            {
                return(false);
            }

            return(view.IsModified());
        }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 3
0
        public bool IsResourceModified(PhactoryHost.Database.Resource resource)
        {
            View.View view = viewBinding[resource].View;

            return(view.IsModified());
        }