Show / Hide Table of Contents

Class RemoteServiceAttribute

Inheritance
System.Object
RemoteServiceAttribute
Namespace: Volo.Abp
Assembly: Volo.Abp.Core.dll
Syntax
public class RemoteServiceAttribute : Attribute

Constructors

RemoteServiceAttribute(Boolean)

Declaration
public RemoteServiceAttribute(bool isEnabled = true)
Parameters
Type Name Description
System.Boolean isEnabled

Properties

IsEnabled

Default: true.

Declaration
public bool IsEnabled { get; set; }
Property Value
Type Description
System.Boolean

IsMetadataEnabled

Default: true.

Declaration
public bool IsMetadataEnabled { get; set; }
Property Value
Type Description
System.Boolean

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.

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

Methods

IsEnabledFor(MethodInfo)

Declaration
public virtual bool IsEnabledFor(MethodInfo method)
Parameters
Type Name Description
MethodInfo method
Returns
Type Description
System.Boolean

IsEnabledFor(Type)

Declaration
public virtual bool IsEnabledFor(Type type)
Parameters
Type Name Description
Type type
Returns
Type Description
System.Boolean

IsExplicitlyDisabledFor(Type)

Declaration
public static bool IsExplicitlyDisabledFor(Type type)
Parameters
Type Name Description
Type type
Returns
Type Description
System.Boolean

IsExplicitlyEnabledFor(Type)

Declaration
public static bool IsExplicitlyEnabledFor(Type type)
Parameters
Type Name Description
Type type
Returns
Type Description
System.Boolean

IsMetadataEnabledFor(MethodInfo)

Declaration
public virtual bool IsMetadataEnabledFor(MethodInfo method)
Parameters
Type Name Description
MethodInfo method
Returns
Type Description
System.Boolean

IsMetadataEnabledFor(Type)

Declaration
public virtual bool IsMetadataEnabledFor(Type type)
Parameters
Type Name Description
Type type
Returns
Type Description
System.Boolean

IsMetadataExplicitlyDisabledFor(MethodInfo)

Declaration
public static bool IsMetadataExplicitlyDisabledFor(MethodInfo method)
Parameters
Type Name Description
MethodInfo method
Returns
Type Description
System.Boolean

IsMetadataExplicitlyDisabledFor(Type)

Declaration
public static bool IsMetadataExplicitlyDisabledFor(Type type)
Parameters
Type Name Description
Type type
Returns
Type Description
System.Boolean

IsMetadataExplicitlyEnabledFor(MethodInfo)

Declaration
public static bool IsMetadataExplicitlyEnabledFor(MethodInfo method)
Parameters
Type Name Description
MethodInfo method
Returns
Type Description
System.Boolean

IsMetadataExplicitlyEnabledFor(Type)

Declaration
public static bool IsMetadataExplicitlyEnabledFor(Type type)
Parameters
Type Name Description
Type type
Returns
Type Description
System.Boolean

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft