ActionComponents  04.05.00
Customizable UI and time-saving tools for Android development with Xamarin and Visual Studio.
Foundation.NSSet Class Reference

Represents a simulated iOS CGContext used to ease the porting of UI code from iOS to Android. Use a NSSet to maintain an unordered collection of objects. More...

Inheritance diagram for Foundation.NSSet:
Collaboration diagram for Foundation.NSSet:

Public Member Functions

 NSSet ()
 Initializes a new instance of the T:Foundation.NSSet class. More...
 
 NSSet (object item)
 Initializes a new instance of the T:Foundation.NSSet class. More...
 
IEnumerator GetEnumerator ()
 
bool MoveNext ()
 
void Reset ()
 
void Add (object item)
 Add the specified item. More...
 
void Remove (object item)
 Remove the specified item. More...
 
void RemoveAt (int n)
 Removes at n. More...
 
void Clear ()
 Clear this instance. More...
 

Properties

List< object > Objects [get, set]
 
object AnyObject = new List<object>() [get]
 Gets the first avaialble object in the collection. More...
 
object this[int index] [get, set]
 Gets or sets the object at the specified index. More...
 
int Count [get]
 Gets the count. More...
 
object Current [get]
 

Detailed Description

Represents a simulated iOS CGContext used to ease the porting of UI code from iOS to Android. Use a NSSet to maintain an unordered collection of objects.

Constructor & Destructor Documentation

Foundation.NSSet.NSSet ( )

Initializes a new instance of the T:Foundation.NSSet class.

Foundation.NSSet.NSSet ( object  item)

Initializes a new instance of the T:Foundation.NSSet class.

Parameters
itemItem.

Member Function Documentation

void Foundation.NSSet.Add ( object  item)

Add the specified item.

Parameters
itemItem.
void Foundation.NSSet.Clear ( )

Clear this instance.

IEnumerator Foundation.NSSet.GetEnumerator ( )
bool Foundation.NSSet.MoveNext ( )
void Foundation.NSSet.Remove ( object  item)

Remove the specified item.

Parameters
itemItem.
void Foundation.NSSet.RemoveAt ( int  n)

Removes at n.

Parameters
nN.
void Foundation.NSSet.Reset ( )

Property Documentation

object Foundation.NSSet.AnyObject = new List<object>()
get

Gets the first avaialble object in the collection.

The first object if available, else null.

int Foundation.NSSet.Count
get

Gets the count.

The count.

object Foundation.NSSet.Current
get
List<object> Foundation.NSSet.Objects
getset
object Foundation.NSSet.this[int index]
getset

Gets or sets the object at the specified index.

Parameters
indexIndex.