AjaxControlToolkit.Reference.Core.Documentation.Get C# (CSharp) Method

Get() public static method

public static Get ( string type, string xmlDocFolder, string scriptsFolder ) : Documentation
type string
xmlDocFolder string
scriptsFolder string
return Documentation
        public static Documentation Get(string type, string xmlDocFolder, string scriptsFolder)
        {
            if(ToolkitTypes.GetAnimationTypeNames().Contains(type)) {
                var doc = new Documentation();
                doc.Add(GetAnimationScriptsReferenceForType(type, scriptsFolder), ContentType.Text);
                return doc;
            }

            return GetNonAnimationScriptsReference(type, xmlDocFolder, scriptsFolder);
        }