-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jtikekar/reverting nullables #353
Changes from 2 commits
bd9177f
8019df6
7903985
82968b6
afcd792
b1047e9
970cc96
6eb3b40
eb02564
d0e2e7c
6294e63
72cb493
a27d37e
679483b
e4b29fb
3652758
537acf7
6522200
384ba1a
9bbbd20
86dd10c
7058fe9
2890023
1897991
0e3bacc
a5bc270
1b820ad
ad136e6
5eb7d44
3ad1ea8
58c3465
186e732
fda39c7
ff8d934
6c15c5d
0f61bdf
8602797
6946eed
ca45b6f
ad5204a
0dd86cd
8732300
1ca0668
0c8b7ef
050ed8c
6a881e0
e92ee14
bf0b061
933c76a
de30a84
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,25 @@ | ||
using System; | ||
/******************************************************************************** | ||
* Copyright (c) {2019 - 2024} Contributors to the Eclipse Foundation | ||
* | ||
* See the NOTICE file(s) distributed with this work for additional | ||
* information regarding copyright ownership. | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Apache License Version 2.0 which is available at | ||
* https://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
********************************************************************************/ | ||
|
||
using System; | ||
Check warning on line 14 in src/AasCore.Aas3_0/Attributes/CountForHash.cs
|
||
|
||
namespace AasCore.Aas3_0.Attributes | ||
Check warning on line 16 in src/AasCore.Aas3_0/Attributes/CountForHash.cs
|
||
{ | ||
/// <summary> | ||
/// This attribute indicates, that it should e.g. serialized in JSON. | ||
/// </summary> | ||
[AttributeUsage(AttributeTargets.Field, AllowMultiple = true)] | ||
public class CountForHash : Attribute | ||
Check warning on line 22 in src/AasCore.Aas3_0/Attributes/CountForHash.cs
|
||
{ | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,24 @@ | ||
namespace AasCore.Aas3_0.Attributes | ||
/******************************************************************************** | ||
* Copyright (c) {2019 - 2024} Contributors to the Eclipse Foundation | ||
* | ||
* See the NOTICE file(s) distributed with this work for additional | ||
* information regarding copyright ownership. | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Apache License Version 2.0 which is available at | ||
* https://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
********************************************************************************/ | ||
|
||
namespace AasCore.Aas3_0.Attributes | ||
{ | ||
/// <summary> | ||
/// This attribute indicates, that the field / property shall be skipped for reflection | ||
/// in order to avoid cycles | ||
/// </summary> | ||
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple = true)] | ||
public class SkipForReflection : System.Attribute | ||
Check warning on line 21 in src/AasCore.Aas3_0/Attributes/SkipForReflection.cs
|
||
{ | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,24 @@ | ||
namespace AasCore.Aas3_0.Attributes | ||
/******************************************************************************** | ||
* Copyright (c) {2019 - 2024} Contributors to the Eclipse Foundation | ||
* | ||
* See the NOTICE file(s) distributed with this work for additional | ||
* information regarding copyright ownership. | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Apache License Version 2.0 which is available at | ||
* https://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
********************************************************************************/ | ||
|
||
namespace AasCore.Aas3_0.Attributes | ||
{ | ||
/// <summary> | ||
/// This attribute indicates, that the field / property shall be skipped for searching, because it is not | ||
/// directly displayed in Package Explorer | ||
/// </summary> | ||
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple = true)] | ||
public class SkipForSearch : System.Attribute | ||
Check warning on line 21 in src/AasCore.Aas3_0/Attributes/SkipForSearch.cs
|
||
{ | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,23 @@ | ||
namespace AasCore.Aas3_0.Attributes | ||
/******************************************************************************** | ||
* Copyright (c) {2019 - 2024} Contributors to the Eclipse Foundation | ||
* | ||
* See the NOTICE file(s) distributed with this work for additional | ||
* information regarding copyright ownership. | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Apache License Version 2.0 which is available at | ||
* https://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
********************************************************************************/ | ||
|
||
namespace AasCore.Aas3_0.Attributes | ||
{ | ||
/// <summary> | ||
/// This attribute indicates, that the field / property is searchable | ||
/// </summary> | ||
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple = true)] | ||
public class TextSearchable : System.Attribute | ||
Check warning on line 20 in src/AasCore.Aas3_0/Attributes/TextSearchable.cs
|
||
{ | ||
} | ||
} |
Check notice
Code scanning / CodeQL
Missed 'readonly' opportunity Note