SenseNet.ContentRepository.TrashBin.IsInTrash C# (CSharp) Метод

IsInTrash() публичный статический Метод

public static IsInTrash ( GenericContent n ) : bool
n GenericContent
Результат bool
        public static bool IsInTrash(GenericContent n)
        {
            //currently this is a simple path check, but
            //in the future, when local trash bins may exist,
            //it will be more complicated
            return n != null && (n.Path + "/").StartsWith(TrashBinPath + "/");
        }