Skip to content

Commit e9862f5

Browse files
committed
Fields in ControllerMetaData now nullable
Type removed ?
1 parent a6828fd commit e9862f5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Simplify.Web/Meta/ControllerMetaData.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,19 @@ public ControllerMetaData(Type controllerType, ControllerExecParameters execPara
3535
/// <summary>
3636
/// Gets the controller execute parameters.
3737
/// </summary>
38-
public ControllerExecParameters ExecParameters { get; }
38+
public ControllerExecParameters? ExecParameters { get; }
3939

4040
/// <summary>
4141
/// Gets the controller role information.
4242
/// </summary>
43-
public ControllerRole Role { get; }
43+
public ControllerRole? Role { get; }
4444

4545
/// <summary>
4646
/// Gets the controller security information.
4747
/// </summary>
4848
/// <value>
4949
/// The controller security information.
5050
/// </value>
51-
public ControllerSecurity Security { get; }
51+
public ControllerSecurity? Security { get; }
5252
}
5353
}

src/Simplify.Web/Meta/IControllerMetaData.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public interface IControllerMetaData
1313
/// <value>
1414
/// The type of the extension.
1515
/// </value>
16-
Type? ControllerType { get; }
16+
Type ControllerType { get; }
1717

1818
/// <summary>
1919
/// Gets the controller execute parameters.

0 commit comments

Comments
 (0)