@@ -21,8 +21,7 @@ namespace Csla
21
21
/// </summary>
22
22
/// <typeparam name="T">Type of the business object being defined.</typeparam>
23
23
/// <typeparam name="C">Type of the child objects contained in the list.</typeparam>
24
- [ System . Diagnostics . CodeAnalysis . SuppressMessage (
25
- "Microsoft.Naming" , "CA1710:IdentifiersShouldHaveCorrectSuffix" ) ]
24
+ [ SuppressMessage ( "Microsoft.Naming" , "CA1710:IdentifiersShouldHaveCorrectSuffix" ) ]
26
25
[ Serializable ]
27
26
public abstract class BusinessBindingListBase <
28
27
#if NET8_0_OR_GREATER
@@ -144,8 +143,7 @@ public T Clone()
144
143
/// A collection containing all child objects marked
145
144
/// for deletion.
146
145
/// </summary>
147
- [ System . Diagnostics . CodeAnalysis . SuppressMessage (
148
- "Microsoft.Design" , "CA1002:DoNotExposeGenericLists" ) ]
146
+ [ SuppressMessage ( "Microsoft.Design" , "CA1002:DoNotExposeGenericLists" ) ]
149
147
[ EditorBrowsable ( EditorBrowsableState . Advanced ) ]
150
148
protected MobileList < C > DeletedList
151
149
{
@@ -157,8 +155,7 @@ protected MobileList<C> DeletedList
157
155
}
158
156
}
159
157
160
- [ System . Diagnostics . CodeAnalysis . SuppressMessage (
161
- "Microsoft.Design" , "CA1002:DoNotExposeGenericLists" ) ]
158
+ [ SuppressMessage ( "Microsoft.Design" , "CA1002:DoNotExposeGenericLists" ) ]
162
159
[ EditorBrowsable ( EditorBrowsableState . Advanced ) ]
163
160
IEnumerable < IEditableBusinessObject > IContainsDeletedList . DeletedList => ( IEnumerable < IEditableBusinessObject > ) DeletedList ;
164
161
@@ -1023,7 +1020,7 @@ public async Task SaveAndMergeAsync()
1023
1020
/// requested DataPortal_xyz method.
1024
1021
/// </summary>
1025
1022
/// <param name="e">The DataPortalContext object passed to the DataPortal.</param>
1026
- [ System . Diagnostics . CodeAnalysis . SuppressMessage ( "Microsoft.Naming" , "CA1707:IdentifiersShouldNotContainUnderscores" , MessageId = "Member" ) ]
1023
+ [ SuppressMessage ( "Microsoft.Naming" , "CA1707:IdentifiersShouldNotContainUnderscores" , MessageId = "Member" ) ]
1027
1024
[ EditorBrowsable ( EditorBrowsableState . Advanced ) ]
1028
1025
protected virtual void DataPortal_OnDataPortalInvoke ( DataPortalEventArgs e )
1029
1026
{ }
@@ -1033,7 +1030,7 @@ protected virtual void DataPortal_OnDataPortalInvoke(DataPortalEventArgs e)
1033
1030
/// requested DataPortal_xyz method.
1034
1031
/// </summary>
1035
1032
/// <param name="e">The DataPortalContext object passed to the DataPortal.</param>
1036
- [ System . Diagnostics . CodeAnalysis . SuppressMessage ( "Microsoft.Naming" , "CA1707:IdentifiersShouldNotContainUnderscores" , MessageId = "Member" ) ]
1033
+ [ SuppressMessage ( "Microsoft.Naming" , "CA1707:IdentifiersShouldNotContainUnderscores" , MessageId = "Member" ) ]
1037
1034
[ EditorBrowsable ( EditorBrowsableState . Advanced ) ]
1038
1035
protected virtual void DataPortal_OnDataPortalInvokeComplete ( DataPortalEventArgs e )
1039
1036
{ }
@@ -1044,7 +1041,7 @@ protected virtual void DataPortal_OnDataPortalInvokeComplete(DataPortalEventArgs
1044
1041
/// </summary>
1045
1042
/// <param name="e">The DataPortalContext object passed to the DataPortal.</param>
1046
1043
/// <param name="ex">The Exception thrown during data access.</param>
1047
- [ System . Diagnostics . CodeAnalysis . SuppressMessage ( "Microsoft.Naming" , "CA1707:IdentifiersShouldNotContainUnderscores" , MessageId = "Member" ) ]
1044
+ [ SuppressMessage ( "Microsoft.Naming" , "CA1707:IdentifiersShouldNotContainUnderscores" , MessageId = "Member" ) ]
1048
1045
[ EditorBrowsable ( EditorBrowsableState . Advanced ) ]
1049
1046
protected virtual void DataPortal_OnDataPortalException ( DataPortalEventArgs e , Exception ex )
1050
1047
{ }
@@ -1054,7 +1051,7 @@ protected virtual void DataPortal_OnDataPortalException(DataPortalEventArgs e, E
1054
1051
/// requested DataPortal_XYZ method.
1055
1052
/// </summary>
1056
1053
/// <param name="e">The DataPortalContext object passed to the DataPortal.</param>
1057
- [ System . Diagnostics . CodeAnalysis . SuppressMessage ( "Microsoft.Naming" , "CA1707:IdentifiersShouldNotContainUnderscores" , MessageId = "Member" ) ]
1054
+ [ SuppressMessage ( "Microsoft.Naming" , "CA1707:IdentifiersShouldNotContainUnderscores" , MessageId = "Member" ) ]
1058
1055
[ EditorBrowsable ( EditorBrowsableState . Advanced ) ]
1059
1056
protected virtual void Child_OnDataPortalInvoke ( DataPortalEventArgs e )
1060
1057
{ }
@@ -1064,7 +1061,7 @@ protected virtual void Child_OnDataPortalInvoke(DataPortalEventArgs e)
1064
1061
/// requested DataPortal_XYZ method.
1065
1062
/// </summary>
1066
1063
/// <param name="e">The DataPortalContext object passed to the DataPortal.</param>
1067
- [ System . Diagnostics . CodeAnalysis . SuppressMessage ( "Microsoft.Naming" , "CA1707:IdentifiersShouldNotContainUnderscores" , MessageId = "Member" ) ]
1064
+ [ SuppressMessage ( "Microsoft.Naming" , "CA1707:IdentifiersShouldNotContainUnderscores" , MessageId = "Member" ) ]
1068
1065
[ EditorBrowsable ( EditorBrowsableState . Advanced ) ]
1069
1066
protected virtual void Child_OnDataPortalInvokeComplete ( DataPortalEventArgs e )
1070
1067
{ }
@@ -1075,7 +1072,7 @@ protected virtual void Child_OnDataPortalInvokeComplete(DataPortalEventArgs e)
1075
1072
/// </summary>
1076
1073
/// <param name="e">The DataPortalContext object passed to the DataPortal.</param>
1077
1074
/// <param name="ex">The Exception thrown during data access.</param>
1078
- [ System . Diagnostics . CodeAnalysis . SuppressMessage ( "Microsoft.Naming" , "CA1707:IdentifiersShouldNotContainUnderscores" , MessageId = "Member" ) ]
1075
+ [ SuppressMessage ( "Microsoft.Naming" , "CA1707:IdentifiersShouldNotContainUnderscores" , MessageId = "Member" ) ]
1079
1076
[ EditorBrowsable ( EditorBrowsableState . Advanced ) ]
1080
1077
protected virtual void Child_OnDataPortalException ( DataPortalEventArgs e , Exception ex )
1081
1078
{ }
@@ -1143,8 +1140,7 @@ void ISavable<T>.SaveComplete(T newObject)
1143
1140
/// <summary>
1144
1141
/// Event raised when an object has been saved.
1145
1142
/// </summary>
1146
- [ System . Diagnostics . CodeAnalysis . SuppressMessage ( "Microsoft.Design" ,
1147
- "CA1062:ValidateArgumentsOfPublicMethods" ) ]
1143
+ [ SuppressMessage ( "Microsoft.Design" , "CA1062:ValidateArgumentsOfPublicMethods" ) ]
1148
1144
public event EventHandler < SavedEventArgs > Saved
1149
1145
{
1150
1146
add
0 commit comments