Table of Contents

Class RemoteServiceAttribute

Namespace
Volo.Abp
Assembly
Volo.Abp.Core.dll
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method|AttributeTargets.Interface)]
public class RemoteServiceAttribute : Attribute
Inheritance
RemoteServiceAttribute
Inherited Members
Extension Methods

Constructors

RemoteServiceAttribute(bool)

public RemoteServiceAttribute(bool isEnabled = true)

Parameters

isEnabled bool

Properties

IsEnabled

Default: true.

public bool IsEnabled { get; set; }

Property Value

bool

IsMetadataEnabled

Default: true.

public bool IsMetadataEnabled { get; set; }

Property Value

bool

Name

Group name of the remote service. Group names of all services of a module expected to be the same. This name is also used to distinguish the service endpoint of this group.

public string Name { get; set; }

Property Value

string

Methods

IsEnabledFor(MethodInfo)

public virtual bool IsEnabledFor(MethodInfo method)

Parameters

method MethodInfo

Returns

bool

IsEnabledFor(Type)

public virtual bool IsEnabledFor(Type type)

Parameters

type Type

Returns

bool

IsExplicitlyDisabledFor(Type)

public static bool IsExplicitlyDisabledFor(Type type)

Parameters

type Type

Returns

bool

IsExplicitlyEnabledFor(Type)

public static bool IsExplicitlyEnabledFor(Type type)

Parameters

type Type

Returns

bool

IsMetadataEnabledFor(MethodInfo)

public virtual bool IsMetadataEnabledFor(MethodInfo method)

Parameters

method MethodInfo

Returns

bool

IsMetadataEnabledFor(Type)

public virtual bool IsMetadataEnabledFor(Type type)

Parameters

type Type

Returns

bool

IsMetadataExplicitlyDisabledFor(MethodInfo)

public static bool IsMetadataExplicitlyDisabledFor(MethodInfo method)

Parameters

method MethodInfo

Returns

bool

IsMetadataExplicitlyDisabledFor(Type)

public static bool IsMetadataExplicitlyDisabledFor(Type type)

Parameters

type Type

Returns

bool

IsMetadataExplicitlyEnabledFor(MethodInfo)

public static bool IsMetadataExplicitlyEnabledFor(MethodInfo method)

Parameters

method MethodInfo

Returns

bool

IsMetadataExplicitlyEnabledFor(Type)

public static bool IsMetadataExplicitlyEnabledFor(Type type)

Parameters

type Type

Returns

bool