Class ScriptObjectBuilder
Inheritance
System.Object
ScriptObjectBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: AjaxControlToolkit.dll
Version: 13.30.0
public static class ScriptObjectBuilder
Properties
Declaration
public static IDictionary<Type, Converter<object, string>> CustomConverters { get; }
Property Value
Type |
Description |
System.Collections.Generic.IDictionary<System.Type, System.Converter<System.Object, System.String>> |
|
Methods
Declaration
public static void DescribeComponent(object instance, ScriptComponentDescriptor descriptor, IUrlResolutionService urlResolver, IControlResolver controlResolver)
Parameters
Type |
Name |
Description |
System.Object |
instance |
|
System.Web.UI.ScriptComponentDescriptor |
descriptor |
|
System.Web.UI.IUrlResolutionService |
urlResolver |
|
IControlResolver |
controlResolver |
|
Declaration
public static string ExecuteCallbackMethod(Control control, string callbackArgument)
Parameters
Type |
Name |
Description |
System.Web.UI.Control |
control |
|
System.String |
callbackArgument |
|
Returns
Type |
Description |
System.String |
|
Declaration
public static IEnumerable<string> GetCssReferences(Control control)
Parameters
Type |
Name |
Description |
System.Web.UI.Control |
control |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
Declaration
public static IEnumerable<ScriptReference> GetScriptReferences(Type type)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Web.UI.ScriptReference> |
|
Declaration
public static IEnumerable<ScriptReference> GetScriptReferences(Type type, bool ignoreStartingTypeReferences)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
System.Boolean |
ignoreStartingTypeReferences |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Web.UI.ScriptReference> |
|
Declaration
public static void RegisterCssReferences(Control control)
Parameters
Type |
Name |
Description |
System.Web.UI.Control |
control |
|