Aracılığıyla paylaş


ModelFactory Sınıf

Tanım

Tasarımcıda nesne örnekleri ModelItem oluşturur.

public ref class ModelFactory abstract sealed
public static class ModelFactory
type ModelFactory = class
Public Class ModelFactory
Devralma
ModelFactory

Yöntemler

CreateItem(EditingContext, Object)

Sağlanan örneğin derin bir kopyasını oluşturarak yeni ModelItem bir oluşturur.

CreateItem(EditingContext, Type, CreateOptions, Object[])

Verilen öğe türü için yeni ModelItem bir oluşturur.

CreateItem(EditingContext, Type, Object[])

Verilen öğe türü için yeni ModelItem bir oluşturur.

CreateStaticMemberItem(EditingContext, Type, String)

Verilen sınıfın statik üyesinin değerini temsil eden yeni ModelItem bir oluşturur.

Şunlara uygulanır