/// <summary>
        /// Gets the resource indicates where the script is included.
        /// </summary>
        /// <param name="position">The position.</param>
        /// <returns></returns>
        protected virtual string GetIncludeInResource(EmbedPosition position)
        {
            switch (position)
            {
            case EmbedPosition.Head:
                return(Res.Get <JavaScriptResources>().IncludedInTheHead);

            case EmbedPosition.InPlace:
                return(Res.Get <JavaScriptResources>().IncludedWhereDropped);

            case EmbedPosition.BeforeBodyEndTag:
                return(Res.Get <JavaScriptResources>().IncludedBeforeTheBodyEnd);

            default:
                return(string.Empty);
            }
        }
 /// <summary>
 /// Gets the resource indicates where the script is included.
 /// </summary>
 /// <param name="position">The position.</param>
 /// <returns></returns>
 protected virtual string GetIncludeInResource(EmbedPosition position)
 {
     switch (position)
     {
         case EmbedPosition.Head:
             return Res.Get<JavaScriptResources>().IncludedInTheHead;
         case EmbedPosition.InPlace:
             return Res.Get<JavaScriptResources>().IncludedWhereDropped;
         case EmbedPosition.BeforeBodyEndTag:
             return Res.Get<JavaScriptResources>().IncludedBeforeTheBodyEnd;
         default:
             return string.Empty;
     }
 }