SenseNet.Messaging.NotificationHandler.IsRelatedPath C# (CSharp) Method

IsRelatedPath() private static method

private static IsRelatedPath ( string eventPath, string subscriptionPath ) : bool
eventPath string
subscriptionPath string
return bool
        private static bool IsRelatedPath(string eventPath, string subscriptionPath)
        {
            if (eventPath == subscriptionPath)
                return true;
            if (!eventPath.StartsWith(subscriptionPath))
                return false;
            return eventPath[subscriptionPath.Length] == '/';
        }
        private static bool HasPermission(Subscription subscription, Event @event)