MayInterleaveAttribute Class

Definition

The MayInterleaveAttribute attribute is used to mark classes that want to control request interleaving via supplied method callback.

[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class MayInterleaveAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class MayInterleaveAttribute : Attribute, Orleans.Metadata.IGrainPropertiesProviderAttribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type MayInterleaveAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type MayInterleaveAttribute = class
    inherit Attribute
    interface IGrainPropertiesProviderAttribute
Public NotInheritable Class MayInterleaveAttribute
Inherits Attribute
Public NotInheritable Class MayInterleaveAttribute
Inherits Attribute
Implements IGrainPropertiesProviderAttribute
Inheritance
MayInterleaveAttribute
Attributes
Implements

Remarks

The callback method name should point to a public static function declared on the same class and having the following signature: public static bool MayInterleave(IInvokable req)

Constructors

MayInterleaveAttribute(String)

Initializes a new instance of the MayInterleaveAttribute class.

Methods

Populate(IServiceProvider, Type, GrainType, Dictionary<String,String>)

Adds grain properties to properties.

Applies to