1.8 KiB
1.8 KiB
Microsoft.Extensions.DependencyInjection.Specification.Tests
{
namespace Microsoft.Extensions.DependencyInjection.Specification {
public class ClassWithOptionalArgsCtorWithStructs {
- public ClassWithOptionalArgsCtorWithStructs(DateTime dateTime = default(DateTime), DateTime dateTimeDefault = default(DateTime), TimeSpan timeSpan = default(TimeSpan), TimeSpan timeSpanDefault = default(TimeSpan), DateTimeOffset dateTimeOffset = default(DateTimeOffset), DateTimeOffset dateTimeOffsetDefault = default(DateTimeOffset), Guid guid = default(Guid), Guid guidDefault = default(Guid), ClassWithOptionalArgsCtorWithStructs.CustomStruct customStruct = default(ClassWithOptionalArgsCtorWithStructs.CustomStruct), ClassWithOptionalArgsCtorWithStructs.CustomStruct customStructDefault = default(ClassWithOptionalArgsCtorWithStructs.CustomStruct));
+ public ClassWithOptionalArgsCtorWithStructs(DateTime dateTime = default(DateTime), DateTime dateTimeDefault = default(DateTime), TimeSpan timeSpan = default(TimeSpan), TimeSpan timeSpanDefault = default(TimeSpan), DateTimeOffset dateTimeOffset = default(DateTimeOffset), DateTimeOffset dateTimeOffsetDefault = default(DateTimeOffset), Guid guid = default(Guid), Guid guidDefault = default(Guid), ClassWithOptionalArgsCtorWithStructs.CustomStruct customStruct = default(ClassWithOptionalArgsCtorWithStructs.CustomStruct), ClassWithOptionalArgsCtorWithStructs.CustomStruct customStructDefault = default(ClassWithOptionalArgsCtorWithStructs.CustomStruct), ConsoleColor? color = 2, ConsoleColor? colorNull = default(ConsoleColor?), int? integer = 12, int? integerNull = default(int?));
+ public ConsoleColor? Color { get; }
+ public ConsoleColor? ColorNull { get; }
+ public int? Integer { get; }
+ public int? IntegerNull { get; }
}
}
}