diff options
author | crupest <crupest@outlook.com> | 2021-02-10 14:31:31 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-02-10 14:31:31 +0800 |
commit | 98df0fb9fe94b703325f09bf765904a11e8a7d4c (patch) | |
tree | 544f7af5bdac4726404cc466e61947471949ffaa /BackEnd/Timeline/Models/Validation | |
parent | 4ea535d93753826ec900879560d876cec4d58c38 (diff) | |
download | timeline-98df0fb9fe94b703325f09bf765904a11e8a7d4c.tar.gz timeline-98df0fb9fe94b703325f09bf765904a11e8a7d4c.tar.bz2 timeline-98df0fb9fe94b703325f09bf765904a11e8a7d4c.zip |
...
Diffstat (limited to 'BackEnd/Timeline/Models/Validation')
-rw-r--r-- | BackEnd/Timeline/Models/Validation/TimelinePostContentTypeValidator.cs | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/BackEnd/Timeline/Models/Validation/TimelinePostContentTypeValidator.cs b/BackEnd/Timeline/Models/Validation/TimelinePostContentTypeValidator.cs deleted file mode 100644 index b65c846c..00000000 --- a/BackEnd/Timeline/Models/Validation/TimelinePostContentTypeValidator.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System;
-using System.Linq;
-
-namespace Timeline.Models.Validation
-{
- public class TimelinePostDataKindValidator : StringSetValidator
- {
- public TimelinePostDataKindValidator() : base(TimelinePostDataKind.AllTypes.ToArray()) { }
- }
-
- [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
- public class TimelinePostDataKindAttribute : ValidateWithAttribute
- {
- public TimelinePostDataKindAttribute() : base(typeof(TimelinePostDataKindValidator))
- {
-
- }
- }
-}
|