Skip to content

Dispatcher code example [StatelessWorker] attribute in wrong place? #12

@wanton7

Description

@wanton7

In dispatcher example there is [StatelessWorker] attribute for IDispatcherGrain interface, but it should be in the DispatcherGrain class. In C# to my knowledge class don't inherit attributes from interfaces it uses.

[StatelessWorker]
public interface IDispatcherGrain : IGrain
{
    Task Send(Tuple<int, string>[] messages);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions