ScriptObjectBuilder
Class
Definition
Namespace:Telerik.Web
Assembly:Telerik.Web.UI.dll
Syntax:
C#
public static class ScriptObjectBuilder
Inheritance: objectScriptObjectBuilder
Inherited Members
Methods
C#
[SuppressMessage("Microsoft.Design", "CA1062:ValidateArgumentsOfPublicMethods", Justification = "controlResolver is checked against null before being used")]
[SuppressMessage("Microsoft.Globalization", "CA1303:DoNotPassLiteralsAsLocalizedParameters", Justification = "Assembly is not localized")]
[SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Justification = "Cyclomatic complexity issues not currently being addressed")]
[SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily", Justification = "value is assigned/reassigned numerous times - code below favors clarity")]
public static void DescribeComponent(object instance, IScriptDescriptor descriptor, IUrlResolutionService urlResolver, IControlResolver controlResolver)
C#
[SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Justification = "Deliberate attempt to catch and pass-on all exceptions")]
public static string ExecuteCallbackMethod(Control control, string callbackArgument)
C#
public static IEnumerable<string> GetCssReferences(Control control)
C#
public static IEnumerable<ScriptReference> GetScriptReferences(Type type, bool ignoreStartingTypeReferences)
IEnumerable<ScriptReference>
C#
public static IEnumerable<ScriptReference> GetScriptReferences(Type type)
IEnumerable<ScriptReference>
C#
public static void RegisterCssReferences(Control control)