[]
        
(Showing Draft Content)

GrapeCity.Viewer.Common.ILoadableFromFileAndStream

ILoadableFromFileAndStream Interface

Defines the capability to load objects from both file and stream sources.

Namespace: GrapeCity.Viewer.Common
Assembly: MESCIUS.ActiveReports.Viewer.Common.dll
Syntax
public interface ILoadableFromFileAndStream
Remarks

This interface is designed for objects that can be initialized or populated from external sources such as files or streams. It supports loading from a simple file path, a stream, or a stream with an associated base URI for resolving relative paths or URIs within the loaded data.

Methods

Name Description
LoadFromFile(FileInfo)

Loads the object from a specified file.

LoadFromStream(Stream)

Loads the object from a specified stream.

LoadFromStream(Stream, Uri)

Loads the object from a specified stream, using a base URI for resolving relative URIs.