using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ComponentModel;
+using System.Diagnostics.CodeAnalysis;
using static Eina.TraitFunctions;
/// similar to C++ STL's and C# IEnumerable.
/// <para>Since EFL 1.23.</para>
/// </summary>
+[SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix",
+ Justification="This is a generalized container mapping the native one.")]
public class Accessor<T> : IEnumerable<T>, IDisposable
{
/// <summary>Pointer to the native accessor.</summary>
/// <summary>Accessor for Inlists.
/// <para>Since EFL 1.23.</para>
/// </summary>
+[SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix",
+ Justification="This is a generalized container mapping the native one.")]
public class AccessorInList<T> : Accessor<T>
{
/// <summary>Create a new accessor wrapping the given pointer.
/// <summary>Accessor for Inarrays.
/// <para>Since EFL 1.23.</para>
/// </summary>
+[SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix",
+ Justification="This is a generalized container mapping the native one.")]
public class AccessorInArray<T> : Accessor<T>
{
/// <summary>Create a new accessor wrapping the given pointer.
using System.Runtime.InteropServices;
using System.Collections.Generic;
using System.ComponentModel;
+using System.Diagnostics.CodeAnalysis;
using static Eina.TraitFunctions;
using static Eina.ArrayNativeFunctions;
/// <summary>A container of contiguous allocated elements.
/// <para>Since EFL 1.23.</para>
/// </summary>
+[SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix",
+ Justification="This is a generalized container mapping the native one.")]
public class Array<T> : IEnumerable<T>, IDisposable
{
public const uint DefaultStep = 32;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using System.ComponentModel;
+using System.Diagnostics.CodeAnalysis;
using static Eina.TraitFunctions;
using static Eina.IteratorNativeFunctions;
///
/// <para>Since EFL 1.23.</para>
/// </summary>
+[SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix",
+ Justification = "This is a generalized container mapping the native one.")]
public class Hash<TKey, TValue> : IEnumerable<KeyValuePair<TKey, TValue>>, IDisposable
{
[EditorBrowsable(EditorBrowsableState.Never)]
using System.Runtime.InteropServices;
using System.Collections.Generic;
using System.ComponentModel;
+using System.Diagnostics.CodeAnalysis;
using static Eina.TraitFunctions;
using static Eina.InarrayNativeFunctions;
/// <summary>Wrapper around an inplace array.
/// <para>Since EFL 1.23.</para>
/// </summary>
+[SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix",
+ Justification="This is a generalized container mapping the native one.")]
public class Inarray<T> : IEnumerable<T>, IDisposable
{
public const uint DefaultStep = 0;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using System.ComponentModel;
+using System.Diagnostics.CodeAnalysis;
using static Eina.TraitFunctions;
using static Eina.InlistNativeFunctions;
/// <summary>Wrapper around an inplace list.
/// <para>Since EFL 1.23.</para>
/// </summary>
+[SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix",
+ Justification="This is a generalized container mapping the native one.")]
public class Inlist<T> : IEnumerable<T>, IDisposable
{
[EditorBrowsable(EditorBrowsableState.Never)]
using System.Runtime.InteropServices;
using System.Collections.Generic;
using System.ComponentModel;
+using System.Diagnostics.CodeAnalysis;
using static Eina.TraitFunctions;
using static Eina.IteratorNativeFunctions;
/// <summary>Wrapper around a native Eina iterator.
/// <para>Since EFL 1.23.</para>
/// </summary>
+[SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix",
+ Justification="This is a generalized container mapping the native one.")]
public class Iterator<T> : IEnumerable<T>, IDisposable
{
[EditorBrowsable(EditorBrowsableState.Never)]
using System.Runtime.InteropServices;
using System.Collections.Generic;
using System.ComponentModel;
+using System.Diagnostics.CodeAnalysis;
using static Eina.TraitFunctions;
using static Eina.ListNativeFunctions;
/// <summary>Native wrapper around a linked list of items.
/// <para>Since EFL 1.23.</para>
/// </summary>
+[SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix",
+ Justification="This is a generalized container mapping the native one.")]
public class List<T> : IList<T>, IEnumerable<T>, IDisposable
{
[CallerFilePath] string file = null,
[CallerLineNumber] int line = 0)
{
- generated = Efl.Eo.BindingEntity.IsBindingEntity(((object)this).GetType());
+ generated = Efl.Eo.BindingEntityAttribute.IsBindingEntity(((object)this).GetType());
IntPtr actual_klass = baseKlass;
if (!generated)
{
AllowMultiple = false,
Inherited = false)
]
-public class BindingEntity: System.Attribute
+public class BindingEntityAttribute: System.Attribute
{
public static bool IsBindingEntity(System.Type t)
{
- return Attribute.GetCustomAttribute(t, typeof(BindingEntity), false) != null;
+ return Attribute.GetCustomAttribute(t, typeof(BindingEntityAttribute), false) != null;
}
}