Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
|
- using System;
-
- namespace TechbloxModdingAPI.Tests
- {
- [AttributeUsage(AttributeTargets.Property)]
- public class TestValueAttribute : Attribute
- {
- public object PossibleValue { get; }
-
- /// <summary>
- /// <param name="possibleValue">
- /// When set, the property test accepts the specified value in addition to the test input.<br />
- /// Useful if setting the property isn't always possible.
- /// </param>
- /// </summary>
- public TestValueAttribute(object possibleValue) => PossibleValue = possibleValue;
- }
- }
|