Skip to main content

SerializableObjectLayerService(ISerializableObjectLayer) Constructor

Initializes a new instance of the SerializableObjectLayerService class with a specified serializable object layer.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v25.2.dll

NuGet Package: DevExpress.Xpo

Declaration

public SerializableObjectLayerService(
    ISerializableObjectLayer serializableObjectLayer
)

Parameters

Name Type Description
serializableObjectLayer ISerializableObjectLayer

An object implementing the ISerializableObjectLayer interface. The specified object is exposed via the SerializableObjectLayerService.SerializableObjectLayer property.

Remarks

Normally, you need to pass a SerializableObjectLayerProxyBase instance, which returns a SerializableObjectLayer instance via the SerializableObjectLayerService.GetObjectLayer method implementation, as the serializableObjectLayer parameter.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SerializableObjectLayerService(ISerializableObjectLayer) constructor.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also