• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class NaiveLockingList<T>

Provides naive locking for generic lists.

Inheritance
System.Object
NaiveLockingList<T>
Namespace: DotNetNuke.Collections.Internal
Assembly: DotNetNuke.dll
Syntax
public class NaiveLockingList<T> : IList<T>
Type Parameters
Name Description
T

The type of value in the list.

Properties

| Improve this Doc View Source

Count

Provides naive locking for generic lists.

Declaration
public int Count { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

IsReadOnly

Provides naive locking for generic lists.

Declaration
public bool IsReadOnly { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Item[Int32]

Provides naive locking for generic lists.

Declaration
public T this[int index] { get; set; }
Parameters
Type Name Description
System.Int32 index
Property Value
Type Description
T
| Improve this Doc View Source

SharedList

Gets access to the underlying SharedList. Allows locking to be explicitly managed for the sake of effeciency

Declaration
public SharedList<T> SharedList { get; }
Property Value
Type Description
SharedList<T>

Methods

| Improve this Doc View Source

Add(T)

Provides naive locking for generic lists.

Declaration
public void Add(T item)
Parameters
Type Name Description
T item
| Improve this Doc View Source

Clear()

Provides naive locking for generic lists.

Declaration
public void Clear()
| Improve this Doc View Source

Contains(T)

Provides naive locking for generic lists.

Declaration
public bool Contains(T item)
Parameters
Type Name Description
T item
Returns
Type Description
System.Boolean
| Improve this Doc View Source

CopyTo(T[], Int32)

Provides naive locking for generic lists.

Declaration
public void CopyTo(T[] array, int arrayIndex)
Parameters
Type Name Description
T[] array
System.Int32 arrayIndex
| Improve this Doc View Source

GetEnumerator()

Provides naive locking for generic lists.

Declaration
public IEnumerator<T> GetEnumerator()
Returns
Type Description
IEnumerator<T>
| Improve this Doc View Source

IndexOf(T)

Provides naive locking for generic lists.

Declaration
public int IndexOf(T item)
Parameters
Type Name Description
T item
Returns
Type Description
System.Int32
| Improve this Doc View Source

Insert(Int32, T)

Provides naive locking for generic lists.

Declaration
public void Insert(int index, T item)
Parameters
Type Name Description
System.Int32 index
T item
| Improve this Doc View Source

Remove(T)

Provides naive locking for generic lists.

Declaration
public bool Remove(T item)
Parameters
Type Name Description
T item
Returns
Type Description
System.Boolean
| Improve this Doc View Source

RemoveAt(Int32)

Provides naive locking for generic lists.

Declaration
public void RemoveAt(int index)
Parameters
Type Name Description
System.Int32 index

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS