ObjectGenerator Class
This class will create an object of a given type and populate it with sample data.
Public Class ObjectGenerator
This language is not supported or no code example is available.
public class ObjectGenerator
This language is not supported or no code example is available.
public ref class ObjectGenerator
This language is not supported or no code example is available.
public class ObjectGenerator
This language is not supported or no code example is available.
|
Name
|
Description
|
|
Equals(Object)
|
Bestimmt, ob das angegebene Objekt mit dem aktuellen Objekt identisch ist.
(inherited from Object).
|
|
Finalize
|
Gibt einem Objekt Gelegenheit zu dem Versuch, Ressourcen freizugeben und andere Bereinigungen durchzuführen, bevor es von der Garbage Collection freigegeben wird.
(inherited from Object).
|
|
GenerateObject(Type)
|
Generates an object for a given type. The type needs to be public, have a public default constructor and settable public properties/fields. Currently it supports the following types:
Simple types: int, string, Enum, DateTime, Uri, etc.
Complex types: POCO types.
Nullables: Nullable<T>.
Arrays: arrays of simple types or complex types.
Key value pairs: KeyValuePair<TKey,TValue>
Tuples: Tuple<T1>, Tuple<T1,T2>, etc
Dictionaries: IDictionary<TKey,TValue> or anything deriving from IDictionary<TKey,TValue>.
Collections: IList<T>, IEnumerable<T>, ICollection<T>, IList, IEnumerable, ICollection or anything deriving from ICollection<T> or IList.
Queryables: IQueryable, IQueryable<T>.
|
|
GetHashCode
|
Fungiert als die Standardhashfunktion.
(inherited from Object).
|
|
GetType
|
Ruft den Type der aktuellen Instanz ab.
(inherited from Object).
|
|
MemberwiseClone
|
Erstellt eine flache Kopie des aktuellen Object.
(inherited from Object).
|
|
ToString
|
Gibt eine Zeichenfolge zurück, die das aktuelle Objekt darstellt.
(inherited from Object).
|
Top
EDOKAAPI_NetFramework.Areas.HelpPage.ObjectGenerator
.NET Framework
Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8