Set a class attribute result with a custom attribute - C#