Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
 public abstract void Process(ResolveShortUrlArgs args);