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 + "/");
        }