C# Class NClass.Core.Model

Inheritance: IModifiable
Afficher le fichier Open project: gbaychev/NClass

Protected Properties

Свойство Type Description
entities List
isDirty bool
loading bool
relationships List

Méthodes publiques

Méthode Description
Deserialize ( XmlElement node ) : void
RemoveEntity ( IEntity entity ) : void
RemoveRelationship ( Relationship relationship ) : void
Serialize ( XmlElement node ) : void

Méthodes protégées

Méthode Description
AddEntity ( IEntity entity ) : void
ElementChanged ( object sender, EventArgs e ) : void
GetEntity ( string type ) : IEntity
IModifiable ( ) : void
LoadEntitites ( XmlNode root ) : void
LoadRelationships ( XmlNode root ) : void
OnDeserializing ( SerializeEventArgs e ) : void
OnEntityAdded ( EntityEventArgs e ) : void
OnEntityRemoved ( EntityEventArgs e ) : void
OnModified ( EventArgs e ) : void
OnRelationAdded ( RelationshipEventArgs e ) : void
OnRelationRemoved ( RelationshipEventArgs e ) : void
OnSerializing ( SerializeEventArgs e ) : void

Private Methods

Méthode Description
RemoveRelationships ( IEntity entity ) : void
SaveEntitites ( XmlElement node ) : void
SaveRelationships ( XmlNode root ) : void

Method Details

AddEntity() protected méthode

protected AddEntity ( IEntity entity ) : void
entity IEntity
Résultat void

Deserialize() public méthode

public Deserialize ( XmlElement node ) : void
node System.Xml.XmlElement
Résultat void

ElementChanged() protected méthode

protected ElementChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

GetEntity() protected abstract méthode

protected abstract GetEntity ( string type ) : IEntity
type string
Résultat IEntity

IModifiable() protected méthode

protected IModifiable ( ) : void
Résultat void

LoadEntitites() protected méthode

/// The save format is corrupt and could not be loaded. /// /// is null. ///
protected LoadEntitites ( XmlNode root ) : void
root System.Xml.XmlNode
Résultat void

LoadRelationships() protected abstract méthode

/// The save format is corrupt and could not be loaded. /// /// is null. ///
protected abstract LoadRelationships ( XmlNode root ) : void
root System.Xml.XmlNode
Résultat void

OnDeserializing() protected méthode

protected OnDeserializing ( SerializeEventArgs e ) : void
e SerializeEventArgs
Résultat void

OnEntityAdded() protected méthode

protected OnEntityAdded ( EntityEventArgs e ) : void
e EntityEventArgs
Résultat void

OnEntityRemoved() protected méthode

protected OnEntityRemoved ( EntityEventArgs e ) : void
e EntityEventArgs
Résultat void

OnModified() protected méthode

protected OnModified ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnRelationAdded() protected méthode

protected OnRelationAdded ( RelationshipEventArgs e ) : void
e RelationshipEventArgs
Résultat void

OnRelationRemoved() protected méthode

protected OnRelationRemoved ( RelationshipEventArgs e ) : void
e RelationshipEventArgs
Résultat void

OnSerializing() protected méthode

protected OnSerializing ( SerializeEventArgs e ) : void
e SerializeEventArgs
Résultat void

RemoveEntity() public méthode

public RemoveEntity ( IEntity entity ) : void
entity IEntity
Résultat void

RemoveRelationship() public méthode

public RemoveRelationship ( Relationship relationship ) : void
relationship Relationship
Résultat void

Serialize() public méthode

public Serialize ( XmlElement node ) : void
node System.Xml.XmlElement
Résultat void

Property Details

entities protected_oe property

protected List entities
Résultat List

isDirty protected_oe property

protected bool isDirty
Résultat bool

loading protected_oe property

protected bool loading
Résultat bool

relationships protected_oe property

protected List relationships
Résultat List