ScriptResourceMapping ScriptResourceMapping ScriptResourceMapping ScriptResourceMapping Class

Definición

Proporciona compatibilidad de asignación de ubicaciones con los recursos de script.Provides location mapping support for script resources.

public ref class ScriptResourceMapping
public class ScriptResourceMapping
type ScriptResourceMapping = class
Public Class ScriptResourceMapping
Herencia
ScriptResourceMappingScriptResourceMappingScriptResourceMappingScriptResourceMapping

Comentarios

Un ScriptResourceMapping objeto puede contener una colección de asignaciones a los recursos de script, como un archivo de script (.js).A ScriptResourceMapping object can contain a collection of mappings to script resources, such as a script file (.js). Cada elemento de la colección se asigna a un ScriptResourceDefinition objeto utilizando el par de un nombre o el nombre y ensamblado.Each item in the collection maps to a ScriptResourceDefinition object by using either a name or name/assembly pair.

Constructores

ScriptResourceMapping() ScriptResourceMapping() ScriptResourceMapping() ScriptResourceMapping()

Inicializa una nueva instancia de la clase ScriptResourceMapping.Initializes a new instance of the ScriptResourceMapping class.

Métodos

AddDefinition(String, Assembly, ScriptResourceDefinition) AddDefinition(String, Assembly, ScriptResourceDefinition) AddDefinition(String, Assembly, ScriptResourceDefinition) AddDefinition(String, Assembly, ScriptResourceDefinition)

Agrega un objeto ScriptResourceDefinition al objeto ScriptResourceMapping.Adds a ScriptResourceDefinition object to the ScriptResourceMapping object.

AddDefinition(String, ScriptResourceDefinition) AddDefinition(String, ScriptResourceDefinition) AddDefinition(String, ScriptResourceDefinition) AddDefinition(String, ScriptResourceDefinition)

Agrega un objeto ScriptResourceDefinition al objeto ScriptResourceMapping.Adds a ScriptResourceDefinition object to the ScriptResourceMapping object.

Clear() Clear() Clear() Clear()

Quita todos los objetos ScriptResourceDefinition del objeto ScriptResourceMapping.Removes all ScriptResourceDefinition objects from the ScriptResourceMapping object.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determina si el objeto especificado es igual al objeto actual.Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetDefinition(ScriptReference) GetDefinition(ScriptReference) GetDefinition(ScriptReference) GetDefinition(ScriptReference)

Devuelve un objeto ScriptResourceDefinition desde el objeto ScriptResourceMapping.Returns a ScriptResourceDefinition object from the ScriptResourceMapping object.

GetDefinition(String) GetDefinition(String) GetDefinition(String) GetDefinition(String)

Devuelve el objeto ScriptResourceDefinition especificado del objeto ScriptResourceMapping basado en el parámetro name.Returns the specified ScriptResourceDefinition object from the ScriptResourceMapping object based on the name parameter.

GetDefinition(String, Assembly) GetDefinition(String, Assembly) GetDefinition(String, Assembly) GetDefinition(String, Assembly)

Devuelve el objeto ScriptResourceDefinition especificado a partir del objeto ScriptResourceMapping.Returns the specified ScriptResourceDefinition object from the ScriptResourceMapping object.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Sirve como la función hash predeterminada.Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Obtiene el Type de la instancia actual.Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Crea una copia superficial del objeto Object actual.Creates a shallow copy of the current Object.

(Inherited from Object)
RemoveDefinition(String) RemoveDefinition(String) RemoveDefinition(String) RemoveDefinition(String)

Quita un objeto ScriptResourceDefinition del objeto ScriptResourceMapping basado en el parámetro name.Removes a ScriptResourceDefinition object from the ScriptResourceMapping object based on the name parameter.

RemoveDefinition(String, Assembly) RemoveDefinition(String, Assembly) RemoveDefinition(String, Assembly) RemoveDefinition(String, Assembly)

Quita un objeto ScriptResourceDefinition del objeto ScriptResourceMapping.Removes a ScriptResourceDefinition object from the ScriptResourceMapping object.

ToString() ToString() ToString() ToString()

Devuelve una cadena que representa el objeto actual.Returns a string that represents the current object.

(Inherited from Object)

Implementaciones de interfaz explícitas

IScriptResourceMapping.GetDefinition(String) IScriptResourceMapping.GetDefinition(String) IScriptResourceMapping.GetDefinition(String) IScriptResourceMapping.GetDefinition(String)
IScriptResourceMapping.GetDefinition(String, Assembly) IScriptResourceMapping.GetDefinition(String, Assembly) IScriptResourceMapping.GetDefinition(String, Assembly) IScriptResourceMapping.GetDefinition(String, Assembly)

Se aplica a