Skip to content

Expando object should be settable #1

Description

@Domantas

Hi,

In my opinion expando object should to have setter. I've created service method wich builds RazorMail instance from several parameters and I want to pass dynamic object to that method.

public void SendMail(string templateName, dynamic model, string toAddresess, string subject, string from)

In this case I cannot have one method for all my messages, because I need to set expando object explicitly

Domantas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions