Class Composite<TModel, TExtension>

The Composite class represents the composition of a data model from the Social platform and custom data applied to extend that model.

Inheritance
System.Object
Composite<TModel, TExtension>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Social.Common
Assembly: EPiServer.Social.Common.dll
Version: 1.5.4
Syntax
public class Composite<TModel, TExtension>
Type Parameters
Name Description
TModel

Type of data model to be extended in the composition

TExtension

Type of data applied as an extension

Constructors

Composite(TModel, TExtension)

Constructor

Declaration
public Composite(TModel data, TExtension extension)
Parameters
Type Name Description
TModel data

Primary data model to be extended through composition

TExtension extension

Data applied as an extension in this composition

Properties

Data

Gets the primary data model in this composition.

Declaration
public TModel Data { get; }
Property Value
Type Description
TModel

Extension

Gets the data applied as an extension of the primary data model.

Declaration
public TExtension Extension { get; }
Property Value
Type Description
TExtension
arrow_upward