Method WritingsReaching
- Namespace
- MailFathom.Domain.Access
- Assembly
- MailFathom.Domain.dll
WritingsReaching(MailFathomPermission)
Lists every way a pattern reaching one published permission can be written.
public static IReadOnlyList<string> WritingsReaching(MailFathomPermission permission)
Parameters
permissionMailFathomPermissionThe permission.
Returns
- IReadOnlyList<string>
Each written pattern that reaches the permission, in ordinal order.
Remarks
The set is finite, because every segment of such a pattern is either a segment of the name or a wildcard taking one or more of them. It is what lets a store ask which stored lists reach one name as an equality over these strings, rather than matching patterns a second time in a query language that would have to agree with this type.
Exceptions
- ArgumentException
Thrown when
permissionis the unspecified struct default.