C# Class ToSic.SexyContent.Serializers.Serializer

Inheritance: Eav.Serializers.Serializer
Afficher le fichier Open project: 2sic/2sxc Class Usage Examples

Méthodes publiques

Méthode Description
GetDictionaryFromEntity ( IEntity entity ) : object>.Dictionary
Prepare ( DynamicEntity dynamicEntity ) : object>.Dictionary

Return an object that represents an IDataStream, but is serializable

Prepare ( IEnumerable dynamicList ) : object>>.IEnumerable

Return an object that represents an IDataStream, but is serializable

Serializer ( ) : System.Collections.Generic

Standard constructor, important for Unity when opening this class in dependency-injection mode

Serializer ( SxcInstance sxcInstance, string languages = null ) : System.Collections.Generic

Common constructor, directly preparing it with 2sxc

Private Methods

Méthode Description
AddEditInfo ( IEntity entity, object>.Dictionary dictionary ) : void
AddPresentation ( IEntity entity, object>.Dictionary dictionary ) : void
ConvertNewSerRelToOldSerRel ( object>.Dictionary dicNew ) : object>.Dictionary
PrepareOldFormat ( IEntity entity ) : object>.Dictionary

Method Details

GetDictionaryFromEntity() public méthode

public GetDictionaryFromEntity ( IEntity entity ) : object>.Dictionary
entity IEntity
Résultat object>.Dictionary

Prepare() public méthode

Return an object that represents an IDataStream, but is serializable
public Prepare ( DynamicEntity dynamicEntity ) : object>.Dictionary
dynamicEntity DynamicEntity
Résultat object>.Dictionary

Prepare() public méthode

Return an object that represents an IDataStream, but is serializable
public Prepare ( IEnumerable dynamicList ) : object>>.IEnumerable
dynamicList IEnumerable
Résultat object>>.IEnumerable

Serializer() public méthode

Standard constructor, important for Unity when opening this class in dependency-injection mode
public Serializer ( ) : System.Collections.Generic
Résultat System.Collections.Generic

Serializer() public méthode

Common constructor, directly preparing it with 2sxc
public Serializer ( SxcInstance sxcInstance, string languages = null ) : System.Collections.Generic
sxcInstance SxcInstance
languages string
Résultat System.Collections.Generic