HamBook – Diff between revs 1 and 54
?pathlinks?
Rev 1 | Rev 54 | |||
---|---|---|---|---|
Line 147... | Line 147... | |||
147 | public StringFormatMethodAttribute([NotNull] string formatParameterName) |
147 | public StringFormatMethodAttribute([NotNull] string formatParameterName) |
|
148 | { |
148 | { |
|
149 | FormatParameterName = formatParameterName; |
149 | FormatParameterName = formatParameterName; |
|
150 | } |
150 | } |
|
Line 151... | Line -... | |||
151 | |
- | ||
152 | [NotNull] |
151 | |
|
153 | public string FormatParameterName { get; } |
152 | [NotNull] public string FormatParameterName { get; } |
|
Line 154... | Line 153... | |||
154 | } |
153 | } |
|
155 | |
154 | |
|
156 | /// <summary> |
155 | /// <summary> |
|
Line 209... | Line 208... | |||
209 | public ValueProviderAttribute([NotNull] string name) |
208 | public ValueProviderAttribute([NotNull] string name) |
|
210 | { |
209 | { |
|
211 | Name = name; |
210 | Name = name; |
|
212 | } |
211 | } |
|
Line 213... | Line -... | |||
213 | |
- | ||
214 | [NotNull] |
212 | |
|
215 | public string Name { get; } |
213 | [NotNull] public string Name { get; } |
|
Line 216... | Line 214... | |||
216 | } |
214 | } |
|
217 | |
215 | |
|
218 | /// <summary> |
216 | /// <summary> |
|
Line 366... | Line 364... | |||
366 | public NotifyPropertyChangedInvocatorAttribute([NotNull] string parameterName) |
364 | public NotifyPropertyChangedInvocatorAttribute([NotNull] string parameterName) |
|
367 | { |
365 | { |
|
368 | ParameterName = parameterName; |
366 | ParameterName = parameterName; |
|
369 | } |
367 | } |
|
Line 370... | Line -... | |||
370 | |
- | ||
371 | [CanBeNull] |
368 | |
|
372 | public string ParameterName { get; } |
369 | [CanBeNull] public string ParameterName { get; } |
|
Line 373... | Line 370... | |||
373 | } |
370 | } |
|
374 | |
371 | |
|
375 | /// <summary> |
372 | /// <summary> |
|
Line 440... | Line 437... | |||
440 | { |
437 | { |
|
441 | Contract = contract; |
438 | Contract = contract; |
|
442 | ForceFullStates = forceFullStates; |
439 | ForceFullStates = forceFullStates; |
|
443 | } |
440 | } |
|
Line 444... | Line -... | |||
444 | |
- | ||
445 | [NotNull] |
441 | |
|
Line 446... | Line 442... | |||
446 | public string Contract { get; } |
442 | [NotNull] public string Contract { get; } |
|
447 | |
443 | |
|
Line 448... | Line 444... | |||
448 | public bool ForceFullStates { get; } |
444 | public bool ForceFullStates { get; } |
|
Line 521... | Line 517... | |||
521 | public BaseTypeRequiredAttribute([NotNull] Type baseType) |
517 | public BaseTypeRequiredAttribute([NotNull] Type baseType) |
|
522 | { |
518 | { |
|
523 | BaseType = baseType; |
519 | BaseType = baseType; |
|
524 | } |
520 | } |
|
Line 525... | Line -... | |||
525 | |
- | ||
526 | [NotNull] |
521 | |
|
527 | public Type BaseType { get; } |
522 | [NotNull] public Type BaseType { get; } |
|
Line 528... | Line 523... | |||
528 | } |
523 | } |
|
529 | |
524 | |
|
530 | /// <summary> |
525 | /// <summary> |
|
Line 606... | Line 601... | |||
606 | { |
601 | { |
|
607 | UseKindFlags = useKindFlags; |
602 | UseKindFlags = useKindFlags; |
|
608 | TargetFlags = targetFlags; |
603 | TargetFlags = targetFlags; |
|
609 | } |
604 | } |
|
Line 610... | Line -... | |||
610 | |
- | ||
611 | [UsedImplicitly] |
605 | |
|
Line 612... | Line -... | |||
612 | public ImplicitUseKindFlags UseKindFlags { get; } |
- | ||
613 | |
606 | [UsedImplicitly] public ImplicitUseKindFlags UseKindFlags { get; } |
|
614 | [UsedImplicitly] |
607 | |
|
Line 615... | Line 608... | |||
615 | public ImplicitUseTargetFlags TargetFlags { get; } |
608 | [UsedImplicitly] public ImplicitUseTargetFlags TargetFlags { get; } |
|
616 | } |
609 | } |
|
617 | |
610 | |
|
Line 676... | Line 669... | |||
676 | public PublicAPIAttribute([NotNull] string comment) |
669 | public PublicAPIAttribute([NotNull] string comment) |
|
677 | { |
670 | { |
|
678 | Comment = comment; |
671 | Comment = comment; |
|
679 | } |
672 | } |
|
Line 680... | Line -... | |||
680 | |
- | ||
681 | [CanBeNull] |
673 | |
|
682 | public string Comment { get; } |
674 | [CanBeNull] public string Comment { get; } |
|
Line 683... | Line 675... | |||
683 | } |
675 | } |
|
684 | |
676 | |
|
685 | /// <summary> |
677 | /// <summary> |
|
Line 741... | Line 733... | |||
741 | public MustUseReturnValueAttribute([NotNull] string justification) |
733 | public MustUseReturnValueAttribute([NotNull] string justification) |
|
742 | { |
734 | { |
|
743 | Justification = justification; |
735 | Justification = justification; |
|
744 | } |
736 | } |
|
Line 745... | Line -... | |||
745 | |
- | ||
746 | [CanBeNull] |
737 | |
|
747 | public string Justification { get; } |
738 | [CanBeNull] public string Justification { get; } |
|
Line 748... | Line 739... | |||
748 | } |
739 | } |
|
749 | |
740 | |
|
750 | /// <summary> |
741 | /// <summary> |
|
Line 800... | Line 791... | |||
800 | { |
791 | { |
|
801 | public PathReferenceAttribute() |
792 | public PathReferenceAttribute() |
|
802 | { |
793 | { |
|
803 | } |
794 | } |
|
Line 804... | Line 795... | |||
804 | |
795 | |
|
805 | public PathReferenceAttribute([NotNull][PathReference] string basePath) |
796 | public PathReferenceAttribute([NotNull] [PathReference] string basePath) |
|
806 | { |
797 | { |
|
807 | BasePath = basePath; |
798 | BasePath = basePath; |
|
Line 808... | Line -... | |||
808 | } |
- | ||
809 | |
799 | } |
|
810 | [CanBeNull] |
800 | |
|
Line 811... | Line 801... | |||
811 | public string BasePath { get; } |
801 | [CanBeNull] public string BasePath { get; } |
|
812 | } |
802 | } |
|
813 | |
803 | |
|
Line 1383... | Line 1373... | |||
1383 | { |
1373 | { |
|
1384 | TagName = tagName; |
1374 | TagName = tagName; |
|
1385 | ControlType = controlType; |
1375 | ControlType = controlType; |
|
1386 | } |
1376 | } |
|
Line 1387... | Line -... | |||
1387 | |
- | ||
1388 | [NotNull] |
1377 | |
|
Line 1389... | Line -... | |||
1389 | public string TagName { get; } |
- | ||
1390 | |
1378 | [NotNull] public string TagName { get; } |
|
1391 | [NotNull] |
1379 | |
|
Line 1392... | Line 1380... | |||
1392 | public Type ControlType { get; } |
1380 | [NotNull] public Type ControlType { get; } |
|
1393 | } |
1381 | } |
|
1394 | |
1382 | |
|
Line 1413... | Line 1401... | |||
1413 | public AspRequiredAttributeAttribute([NotNull] string attribute) |
1401 | public AspRequiredAttributeAttribute([NotNull] string attribute) |
|
1414 | { |
1402 | { |
|
1415 | Attribute = attribute; |
1403 | Attribute = attribute; |
|
1416 | } |
1404 | } |
|
Line 1417... | Line -... | |||
1417 | |
- | ||
1418 | [NotNull] |
1405 | |
|
1419 | public string Attribute { get; } |
1406 | [NotNull] public string Attribute { get; } |
|
Line 1420... | Line 1407... | |||
1420 | } |
1407 | } |
|
1421 | |
1408 | |
|
1422 | [AttributeUsage(AttributeTargets.Property)] |
1409 | [AttributeUsage(AttributeTargets.Property)] |
|
Line 1441... | Line 1428... | |||
1441 | public AspMvcAreaMasterLocationFormatAttribute([NotNull] string format) |
1428 | public AspMvcAreaMasterLocationFormatAttribute([NotNull] string format) |
|
1442 | { |
1429 | { |
|
1443 | Format = format; |
1430 | Format = format; |
|
1444 | } |
1431 | } |
|
Line 1445... | Line -... | |||
1445 | |
- | ||
1446 | [NotNull] |
1432 | |
|
1447 | public string Format { get; } |
1433 | [NotNull] public string Format { get; } |
|
Line 1448... | Line 1434... | |||
1448 | } |
1434 | } |
|
1449 | |
1435 | |
|
1450 | [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Field | AttributeTargets.Property, |
1436 | [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Field | AttributeTargets.Property, |
|
Line 1454... | Line 1440... | |||
1454 | public AspMvcAreaPartialViewLocationFormatAttribute([NotNull] string format) |
1440 | public AspMvcAreaPartialViewLocationFormatAttribute([NotNull] string format) |
|
1455 | { |
1441 | { |
|
1456 | Format = format; |
1442 | Format = format; |
|
1457 | } |
1443 | } |
|
Line 1458... | Line -... | |||
1458 | |
- | ||
1459 | [NotNull] |
1444 | |
|
1460 | public string Format { get; } |
1445 | [NotNull] public string Format { get; } |
|
Line 1461... | Line 1446... | |||
1461 | } |
1446 | } |
|
1462 | |
1447 | |
|
1463 | [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Field | AttributeTargets.Property, |
1448 | [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Field | AttributeTargets.Property, |
|
Line 1467... | Line 1452... | |||
1467 | public AspMvcAreaViewLocationFormatAttribute([NotNull] string format) |
1452 | public AspMvcAreaViewLocationFormatAttribute([NotNull] string format) |
|
1468 | { |
1453 | { |
|
1469 | Format = format; |
1454 | Format = format; |
|
1470 | } |
1455 | } |
|
Line 1471... | Line -... | |||
1471 | |
- | ||
1472 | [NotNull] |
1456 | |
|
1473 | public string Format { get; } |
1457 | [NotNull] public string Format { get; } |
|
Line 1474... | Line 1458... | |||
1474 | } |
1458 | } |
|
1475 | |
1459 | |
|
1476 | [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Field | AttributeTargets.Property, |
1460 | [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Field | AttributeTargets.Property, |
|
Line 1480... | Line 1464... | |||
1480 | public AspMvcMasterLocationFormatAttribute([NotNull] string format) |
1464 | public AspMvcMasterLocationFormatAttribute([NotNull] string format) |
|
1481 | { |
1465 | { |
|
1482 | Format = format; |
1466 | Format = format; |
|
1483 | } |
1467 | } |
|
Line 1484... | Line -... | |||
1484 | |
- | ||
1485 | [NotNull] |
1468 | |
|
1486 | public string Format { get; } |
1469 | [NotNull] public string Format { get; } |
|
Line 1487... | Line 1470... | |||
1487 | } |
1470 | } |
|
1488 | |
1471 | |
|
1489 | [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Field | AttributeTargets.Property, |
1472 | [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Field | AttributeTargets.Property, |
|
Line 1493... | Line 1476... | |||
1493 | public AspMvcPartialViewLocationFormatAttribute([NotNull] string format) |
1476 | public AspMvcPartialViewLocationFormatAttribute([NotNull] string format) |
|
1494 | { |
1477 | { |
|
1495 | Format = format; |
1478 | Format = format; |
|
1496 | } |
1479 | } |
|
Line 1497... | Line -... | |||
1497 | |
- | ||
1498 | [NotNull] |
1480 | |
|
1499 | public string Format { get; } |
1481 | [NotNull] public string Format { get; } |
|
Line 1500... | Line 1482... | |||
1500 | } |
1482 | } |
|
1501 | |
1483 | |
|
1502 | [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Field | AttributeTargets.Property, |
1484 | [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Field | AttributeTargets.Property, |
|
Line 1506... | Line 1488... | |||
1506 | public AspMvcViewLocationFormatAttribute([NotNull] string format) |
1488 | public AspMvcViewLocationFormatAttribute([NotNull] string format) |
|
1507 | { |
1489 | { |
|
1508 | Format = format; |
1490 | Format = format; |
|
1509 | } |
1491 | } |
|
Line 1510... | Line -... | |||
1510 | |
- | ||
1511 | [NotNull] |
1492 | |
|
1512 | public string Format { get; } |
1493 | [NotNull] public string Format { get; } |
|
Line 1513... | Line 1494... | |||
1513 | } |
1494 | } |
|
1514 | |
1495 | |
|
1515 | /// <summary> |
1496 | /// <summary> |
|
Line 1529... | Line 1510... | |||
1529 | public AspMvcActionAttribute([NotNull] string anonymousProperty) |
1510 | public AspMvcActionAttribute([NotNull] string anonymousProperty) |
|
1530 | { |
1511 | { |
|
1531 | AnonymousProperty = anonymousProperty; |
1512 | AnonymousProperty = anonymousProperty; |
|
1532 | } |
1513 | } |
|
Line 1533... | Line -... | |||
1533 | |
- | ||
1534 | [CanBeNull] |
1514 | |
|
1535 | public string AnonymousProperty { get; } |
1515 | [CanBeNull] public string AnonymousProperty { get; } |
|
Line 1536... | Line 1516... | |||
1536 | } |
1516 | } |
|
1537 | |
1517 | |
|
1538 | /// <summary> |
1518 | /// <summary> |
|
Line 1550... | Line 1530... | |||
1550 | public AspMvcAreaAttribute([NotNull] string anonymousProperty) |
1530 | public AspMvcAreaAttribute([NotNull] string anonymousProperty) |
|
1551 | { |
1531 | { |
|
1552 | AnonymousProperty = anonymousProperty; |
1532 | AnonymousProperty = anonymousProperty; |
|
1553 | } |
1533 | } |
|
Line 1554... | Line -... | |||
1554 | |
- | ||
1555 | [CanBeNull] |
1534 | |
|
1556 | public string AnonymousProperty { get; } |
1535 | [CanBeNull] public string AnonymousProperty { get; } |
|
Line 1557... | Line 1536... | |||
1557 | } |
1536 | } |
|
1558 | |
1537 | |
|
1559 | /// <summary> |
1538 | /// <summary> |
|
Line 1573... | Line 1552... | |||
1573 | public AspMvcControllerAttribute([NotNull] string anonymousProperty) |
1552 | public AspMvcControllerAttribute([NotNull] string anonymousProperty) |
|
1574 | { |
1553 | { |
|
1575 | AnonymousProperty = anonymousProperty; |
1554 | AnonymousProperty = anonymousProperty; |
|
1576 | } |
1555 | } |
|
Line 1577... | Line -... | |||
1577 | |
- | ||
1578 | [CanBeNull] |
1556 | |
|
1579 | public string AnonymousProperty { get; } |
1557 | [CanBeNull] public string AnonymousProperty { get; } |
|
Line 1580... | Line 1558... | |||
1580 | } |
1558 | } |
|
1581 | |
1559 | |
|
1582 | /// <summary> |
1560 | /// <summary> |
|
Line 1728... | Line 1706... | |||
1728 | public RouteParameterConstraintAttribute([NotNull] string constraintName) |
1706 | public RouteParameterConstraintAttribute([NotNull] string constraintName) |
|
1729 | { |
1707 | { |
|
1730 | ConstraintName = constraintName; |
1708 | ConstraintName = constraintName; |
|
1731 | } |
1709 | } |
|
Line 1732... | Line -... | |||
1732 | |
- | ||
1733 | [NotNull] |
1710 | |
|
Line 1734... | Line -... | |||
1734 | public string ConstraintName { get; } |
- | ||
1735 | |
1711 | [NotNull] public string ConstraintName { get; } |
|
1736 | [CanBeNull] |
1712 | |
|
Line 1737... | Line 1713... | |||
1737 | public Type ProposedType { get; set; } |
1713 | [CanBeNull] public Type ProposedType { get; set; } |
|
1738 | } |
1714 | } |
|
1739 | |
1715 | |
|
Line 1754... | Line 1730... | |||
1754 | public UriStringAttribute(string httpVerb) |
1730 | public UriStringAttribute(string httpVerb) |
|
1755 | { |
1731 | { |
|
1756 | HttpVerb = httpVerb; |
1732 | HttpVerb = httpVerb; |
|
1757 | } |
1733 | } |
|
Line 1758... | Line -... | |||
1758 | |
- | ||
1759 | [CanBeNull] |
1734 | |
|
1760 | public string HttpVerb { get; } |
1735 | [CanBeNull] public string HttpVerb { get; } |
|
Line 1761... | Line 1736... | |||
1761 | } |
1736 | } |
|
1762 | |
1737 | |
|
1763 | /// <summary> |
1738 | /// <summary> |
|
Line 1777... | Line 1752... | |||
1777 | public AspRouteConventionAttribute(string predefinedPattern) |
1752 | public AspRouteConventionAttribute(string predefinedPattern) |
|
1778 | { |
1753 | { |
|
1779 | PredefinedPattern = predefinedPattern; |
1754 | PredefinedPattern = predefinedPattern; |
|
1780 | } |
1755 | } |
|
Line 1781... | Line -... | |||
1781 | |
- | ||
1782 | [CanBeNull] |
1756 | |
|
1783 | public string PredefinedPattern { get; } |
1757 | [CanBeNull] public string PredefinedPattern { get; } |
|
Line 1784... | Line 1758... | |||
1784 | } |
1758 | } |
|
1785 | |
1759 | |
|
1786 | /// <summary> |
1760 | /// <summary> |
|
Line 1863... | Line 1837... | |||
1863 | public HtmlElementAttributesAttribute([NotNull] string name) |
1837 | public HtmlElementAttributesAttribute([NotNull] string name) |
|
1864 | { |
1838 | { |
|
1865 | Name = name; |
1839 | Name = name; |
|
1866 | } |
1840 | } |
|
Line 1867... | Line -... | |||
1867 | |
- | ||
1868 | [CanBeNull] |
1841 | |
|
1869 | public string Name { get; } |
1842 | [CanBeNull] public string Name { get; } |
|
Line 1870... | Line 1843... | |||
1870 | } |
1843 | } |
|
1871 | |
1844 | |
|
1872 | [AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.Property)] |
1845 | [AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.Property)] |
|
1873 | public sealed class HtmlAttributeValueAttribute : Attribute |
1846 | public sealed class HtmlAttributeValueAttribute : Attribute |
|
1874 | { |
1847 | { |
|
1875 | public HtmlAttributeValueAttribute([NotNull] string name) |
1848 | public HtmlAttributeValueAttribute([NotNull] string name) |
|
1876 | { |
1849 | { |
|
Line 1877... | Line -... | |||
1877 | Name = name; |
- | ||
1878 | } |
1850 | Name = name; |
|
1879 | |
1851 | } |
|
Line 1880... | Line 1852... | |||
1880 | [NotNull] |
1852 | |
|
1881 | public string Name { get; } |
1853 | [NotNull] public string Name { get; } |
|
1882 | } |
1854 | } |
|
Line 1897... | Line 1869... | |||
1897 | public RazorImportNamespaceAttribute([NotNull] string name) |
1869 | public RazorImportNamespaceAttribute([NotNull] string name) |
|
1898 | { |
1870 | { |
|
1899 | Name = name; |
1871 | Name = name; |
|
1900 | } |
1872 | } |
|
Line 1901... | Line -... | |||
1901 | |
- | ||
1902 | [NotNull] |
1873 | |
|
1903 | public string Name { get; } |
1874 | [NotNull] public string Name { get; } |
|
Line 1904... | Line 1875... | |||
1904 | } |
1875 | } |
|
1905 | |
1876 | |
|
1906 | [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] |
1877 | [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] |
|
Line 1910... | Line 1881... | |||
1910 | { |
1881 | { |
|
1911 | Type = type; |
1882 | Type = type; |
|
1912 | FieldName = fieldName; |
1883 | FieldName = fieldName; |
|
1913 | } |
1884 | } |
|
Line 1914... | Line -... | |||
1914 | |
- | ||
1915 | [NotNull] |
1885 | |
|
Line 1916... | Line -... | |||
1916 | public string Type { get; } |
- | ||
1917 | |
1886 | [NotNull] public string Type { get; } |
|
1918 | [NotNull] |
1887 | |
|
Line 1919... | Line 1888... | |||
1919 | public string FieldName { get; } |
1888 | [NotNull] public string FieldName { get; } |
|
1920 | } |
1889 | } |
|
1921 | |
1890 | |
|
1922 | [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] |
1891 | [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] |
|
1923 | public sealed class RazorDirectiveAttribute : Attribute |
1892 | public sealed class RazorDirectiveAttribute : Attribute |
|
1924 | { |
1893 | { |
|
1925 | public RazorDirectiveAttribute([NotNull] string directive) |
1894 | public RazorDirectiveAttribute([NotNull] string directive) |
|
Line 1926... | Line -... | |||
1926 | { |
- | ||
1927 | Directive = directive; |
1895 | { |
|
1928 | } |
1896 | Directive = directive; |
|
Line 1929... | Line 1897... | |||
1929 | |
1897 | } |
|
1930 | [NotNull] |
1898 | |
|
1931 | public string Directive { get; } |
1899 | [NotNull] public string Directive { get; } |
|
Line 1943... | Line 1911... | |||
1943 | { |
1911 | { |
|
1944 | BaseType = baseType; |
1912 | BaseType = baseType; |
|
1945 | PageName = pageName; |
1913 | PageName = pageName; |
|
1946 | } |
1914 | } |
|
Line 1947... | Line -... | |||
1947 | |
- | ||
1948 | [NotNull] |
1915 | |
|
Line 1949... | Line -... | |||
1949 | public string BaseType { get; } |
- | ||
1950 | |
1916 | [NotNull] public string BaseType { get; } |
|
1951 | [CanBeNull] |
1917 | |
|
Line 1952... | Line 1918... | |||
1952 | public string PageName { get; } |
1918 | [CanBeNull] public string PageName { get; } |
|
1953 | } |
1919 | } |
|
1954 | |
1920 | |