KnownTypeAttribute public sealed class KnownTypeAttribute : Attribute Documentation public string MethodName { get; } public Type Type { get; } public KnownTypeAttribute(Type type) public KnownTypeAttribute(string methodName)