GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Test/Test.ServiceModel/Validation.cs at master · NetCoreApps/Test Expand file tree/ Copy pathValidation.csMore file actions 54 lines (46 loc) · 1.34 KB / Copy pathValidation.csFile metadata and controls54 lines (46 loc) · 1.34 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 using System.Collections.Generic; using ServiceStack; namespace Test.ServiceModel; [ValidateIsAuthenticated] public class DeclarativeValidationAuth { public string Name { get; set; } } public class DeclarativeChildValidation { public string Name { get; set; } [ValidateMaximumLength(20)] public string Value { get; set; } } public class FluentChildValidation { public string Name { get; set; } public string Value { get; set; } } public class DeclarativeCollectiveValidationTest : IReturn<EmptyResponse> { [ValidateNotEmpty] [ValidateMaximumLength(20)] public string Site { get; set; } public List<DeclarativeChildValidation> DeclarativeValidations { get; set; } public List<FluentChildValidation> FluentValidations { get; set; } } public class DeclarativeSingleValidation { public string Name { get; set; } [ValidateMaximumLength(20)] public string Value { get; set; } } public class FluentSingleValidation { public string Name { get; set; } public string Value { get; set; } } public class DeclarativeSingleValidationTest : IReturn<EmptyResponse> { [ValidateNotEmpty] [ValidateMaximumLength(20)] public string Site { get; set; } public DeclarativeSingleValidation DeclarativeSingleValidation { get; set; } public FluentSingleValidation FluentSingleValidation { get; set; } } |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |