Beispiel #1
0
        public static string ResolveShortUrl(this Item item, UrlOptions options)
        {
            if (item == null)
            {
                Log.Fatal("ShortUrlManager: cannot resolve short url. Item was null", new object());
                return(null);
            }

            var args = new ResolveShortUrlArgs(item, options);

            CorePipeline.Run("resolveShortUrl", args);
            return(args.ResolvedUrl);
        }
 public abstract void Process(ResolveShortUrlArgs args);