markus / Rhino.Licensing / StringLicenseValidator.cs @ 42d49521
이력 | 보기 | 이력해설 | 다운로드 (740 Bytes)
1 | 42d49521 | taeseongkim | namespace Rhino.Licensing |
---|---|---|---|
2 | { |
||
3 | /// <summary> |
||
4 | /// Validates content of a license file |
||
5 | /// </summary> |
||
6 | public class StringLicenseValidator : AbstractLicenseValidator |
||
7 | { |
||
8 | /// <summary> |
||
9 | /// Creates a new instance of <seealso cref="StringLicenseValidator"/> |
||
10 | /// </summary> |
||
11 | /// <param name="publicKey">public key</param> |
||
12 | /// <param name="license">license content</param> |
||
13 | public StringLicenseValidator(string publicKey, string license) |
||
14 | : base(publicKey) |
||
15 | { |
||
16 | License = license; |
||
17 | } |
||
18 | |||
19 | /// <summary> |
||
20 | /// License content |
||
21 | /// </summary> |
||
22 | protected override string License |
||
23 | { |
||
24 | get; set; |
||
25 | } |
||
26 | } |
||
27 | } |