Skip to content

ServiceLookupEditorAttribute class

namespace: Serenity.ComponentModel   assembly: Serenity.Net.Core

Indicates that the target property should use a "ServiceLookup" editor.

[AttributeUsage(AttributeTargets.All)]
public class ServiceLookupEditorAttribute : ServiceLookupEditorBaseAttribute

Public Members

name description
ServiceLookupEditorAttribute(…) Initializes a new instance of the ServiceLookupEditorAttribute class. (2 constructors)
const Key Editor type key
static AutoServiceFor(…) When service is null, this method first tries to determine the service URL from a matching endpoint for row types, then falls back to the module identifier and type name convention.
static TryGetEndpointActionMethod(…) Tries to get an endpoint action method using the same action selection rules used when resolving a service URL.
static TryGetEndpointForRow(…) Tries to find the endpoint associated with a row type.
static TryGetServiceFromEndpoint(…) Tries to get the service URL from an endpoint type and action name.

Protected Members

name description
ServiceLookupEditorAttribute() Initializes a new instance of the ServiceLookupEditorAttribute class for use by derived editor attributes.

See Also