Class FixSessionManager.RarelyChangeList<TE>
This class contains two copies of the lists.
Inheritance
System.Object
FixSessionManager.RarelyChangeList<TE>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FixAntenna.FixEngine.Manager
Assembly: FixAntenna.Core.dll
Syntax
public class RarelyChangeList<TE>
Type Parameters
| Name | Description |
|---|---|
| TE |
Methods
Add(TE)
Added item to list and update(or create if the update is not possible) ReadOnly copy This method is not thread safe.
Declaration
public virtual void Add(TE item)
Parameters
| Type | Name | Description |
|---|---|---|
| TE | item |
Contain(TE)
Declaration
public virtual bool Contain(TE item)
Parameters
| Type | Name | Description |
|---|---|---|
| TE | item |
Returns
| Type | Description |
|---|---|
| System.Boolean |
ReadOnlyCopy()
Return ReadOnly copy of original list. Release the list after use to work properly. This method is not thread safe.
Declaration
public virtual IList<TE> ReadOnlyCopy()
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IList<TE> |
ReleaseCopy(IList<TE>)
Release the list after use to work properly. This method is not thread safe.
Declaration
public virtual void ReleaseCopy(IList<TE> copy)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.IList<TE> | copy |
Remove(TE)
Remove item from list and update(or create if the update is not possible) ReadOnly copy This method is not thread safe.
Declaration
public virtual bool Remove(TE item)
Parameters
| Type | Name | Description |
|---|---|---|
| TE | item |
Returns
| Type | Description |
|---|---|
| System.Boolean |