Class RemoteServiceAttribute
[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
IsMetadataEnabled
Default: true.
public bool IsMetadataEnabled { get; set; }
Property Value
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
Methods
IsEnabledFor(MethodInfo)
public virtual bool IsEnabledFor(MethodInfo method)
Parameters
method
MethodInfo
Returns
IsEnabledFor(Type)
public virtual bool IsEnabledFor(Type type)
Parameters
type
Type
Returns
IsExplicitlyDisabledFor(Type)
public static bool IsExplicitlyDisabledFor(Type type)
Parameters
type
Type
Returns
IsExplicitlyEnabledFor(Type)
public static bool IsExplicitlyEnabledFor(Type type)
Parameters
type
Type
Returns
IsMetadataEnabledFor(MethodInfo)
public virtual bool IsMetadataEnabledFor(MethodInfo method)
Parameters
method
MethodInfo
Returns
IsMetadataEnabledFor(Type)
public virtual bool IsMetadataEnabledFor(Type type)
Parameters
type
Type
Returns
IsMetadataExplicitlyDisabledFor(MethodInfo)
public static bool IsMetadataExplicitlyDisabledFor(MethodInfo method)
Parameters
method
MethodInfo
Returns
IsMetadataExplicitlyDisabledFor(Type)
public static bool IsMetadataExplicitlyDisabledFor(Type type)
Parameters
type
Type
Returns
IsMetadataExplicitlyEnabledFor(MethodInfo)
public static bool IsMetadataExplicitlyEnabledFor(MethodInfo method)
Parameters
method
MethodInfo
Returns
IsMetadataExplicitlyEnabledFor(Type)
public static bool IsMetadataExplicitlyEnabledFor(Type type)
Parameters
type
Type