Skip to content

GetLogEntriesFor<T> to accept multiple types #81

@colinangusmackay

Description

@colinangusmackay

Currently there is a GetLogEntriesFor<T> that will get log entries logged in the class T. Create overloads that allow multiple T so:

public IReadOnlyList<LogEntry> GetLogEntriesFor<T>() { }
public IReadOnlyList<LogEntry> GetLogEntriesFor<T1, T2>() { }
public IReadOnlyList<LogEntry> GetLogEntriesFor<T1, T2, T3>() { }
public IReadOnlyList<LogEntry> GetLogEntriesFor<T1, T2, T3, T4>() { }
public IReadOnlyList<LogEntry> GetLogEntriesFor<T1, T2, T3, T4, T5>() { }
public IReadOnlyList<LogEntry> GetLogEntriesFor<T1, T2, T3, T4, T5, T6>() { }

etc. And also,

public IReadOnlyList<LogEntry> GetLogEntriesFor(Type type)

to become, or have in addition:

public IReadOnlyList<LogEntry> GetLogEntriesFor(Type type1, params Type[] types)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions