Abstract interface for any object contained in a property list.
The names and functions of the various objects orient themselves towards Apple's Cocoa API.
See Also: Inherited members from object.
|
|
NSObject
()
|
Documentation for this section has not yet been entered. |
|
abstract
|
Equals
(NSObject)Determines if the specific NSObject is the same as the NSObject overriding this method. |
|
|
|
ToObject
()Converts this NSObject into an equivalent object of the .NET Runtime Environment. |
|
|
|
ToXmlPropertyList
()Generates a valid XML property list including headers using this object as root. |
|
|
static
|
Wrap
(bool)Wraps the given value inside a NSObject. |
|
|
static
|
Wrap
(byte[])Wraps the given value inside a NSObject. |
|
|
static
|
Wrap
(Dictionary<string, object>)Creates a NSDictionary with the contents of the given map. |
|
|
static
|
Wrap
(List<object>)Creates a NSSet with the contents of this set. |
|
|
static
|
Wrap
(double)Wraps the given value inside a NSObject. |
|
|
static
|
Wrap
(long)Wraps the given value inside a NSObject. |
|
|
static
|
Wrap
(object)
|
|
|
static
|
Wrap
(object[])Creates a NSArray with the contents of the given array. |
|
|
static
|
WrapSerialized
(object)Serializes the given object using Java's default object serialization and wraps the serialized object in a NSData object. |
|
Documentation for this section has not yet been entered.Syntax
protected NSObject ()Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Determines if the specific NSObject is the same as the NSObject overriding this method.Syntax
Parameters
- obj
- The Claunia.PropertyList.NSObject to compare with the current Claunia.PropertyList.NSObject.
Returns
true if the specified Claunia.PropertyList.NSObject is equal to the current Claunia.PropertyList.NSObject; otherwise, false.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Converts this NSObject into an equivalent object of the .NET Runtime Environment.Claunia.PropertyList.NSArray objects are converted to arrays.
Claunia.PropertyList.NSDictionary objects are converted to objects extending the Dictionary`2 class.
Claunia.PropertyList.NSSet objects are converted to objects extending the List`1 class.
Claunia.PropertyList.NSNumber objects are converted to primitive number values (int, long, double or bool).
Claunia.PropertyList.NSString objects are converted to string objects.
Claunia.PropertyList.NSData objects are converted to byte arrays.
Claunia.PropertyList.NSDate objects are converted to DateTime objects.
Claunia.PropertyList.UID objects are converted to byte arrays.
Syntax
public object ToObject ()Returns
A native .NET object representing this NSObject's value.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Generates a valid XML property list including headers using this object as root.Syntax
public string ToXmlPropertyList ()Returns
The XML representation of the property list including XML header and doctype information.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Wraps the given value inside a NSObject.Syntax
Parameters
- value
- The value to represent as a NSObject.
Returns
A NSObject representing the given value.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Wraps the given value inside a NSObject.Syntax
Parameters
- value
- The value to represent as a NSObject.
Returns
A NSObject representing the given value.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Creates a NSDictionary with the contents of the given map.Syntax
public static NSDictionary Wrap (Dictionary<string, object> value)Parameters
- value
- The value to represent as a NSObject.
Returns
A NSObject representing the given value.Exceptions
Type Reason SystemException When one of the values contained in the map cannot be represented by a NSObject. Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Creates a NSSet with the contents of this set.Syntax
public static NSSet Wrap (List<object> value)Parameters
- value
- The value to represent as a NSObject.
Returns
A NSObject representing the given value.Exceptions
Type Reason SystemException When one of the values contained in the map cannot be represented by a NSObject. Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Wraps the given value inside a NSObject.Syntax
Parameters
- value
- The value to represent as a NSObject.
Returns
A NSObject representing the given value.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Wraps the given value inside a NSObject.Syntax
Parameters
- value
- The value to represent as a NSObject.
Returns
A NSObject representing the given value.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Creates a NSObject representing the given .NET Object.
Numerics of type bool, int, long, short, byte, float or double are wrapped as NSNumber objects.
Strings are wrapped as Claunia.PropertyList.NSString objects and byte arrays as Claunia.PropertyList.NSData objects.
DateTime objects are wrapped as Claunia.PropertyList.NSDate objects.
Serializable classes are serialized and their data is stored in Claunia.PropertyList.NSData objects.
Arrays and Collection objects are converted to Claunia.PropertyList.NSArray where each array member is wrapped into a Claunia.PropertyList.NSObject.
Dictionaries are converted to Claunia.PropertyList.NSDictionary. Each key is converted to a string and each value wrapped into a Claunia.PropertyList.NSObject.
Syntax
Parameters
- o
- The object to represent.
Returns
A NSObject equivalent to the given object.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Creates a NSArray with the contents of the given array.Syntax
Parameters
- value
- The value to represent as a NSObject.
Returns
A NSObject representing the given value.Exceptions
Type Reason SystemException When one of the objects contained in the array cannot be represented by a NSObject. Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Serializes the given object using Java's default object serialization and wraps the serialized object in a NSData object.Syntax
Parameters
- o
- The object to serialize and wrap.
Returns
A NSData objectExceptions
Type Reason SystemException When the object could not be serialized. Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0