Table of Contents

Interface ISerializerService

Namespace
HeBianGu.Base.WpfBase
Assembly
HeBianGu.Base.WpfBase.dll
public interface ISerializerService
Extension Methods

Methods

CloneXml(object)

object CloneXml(object o)

Parameters

o object

Returns

object

Load(string, Type)

object Load(string filePath, Type type)

Parameters

filePath string
type Type

Returns

object

Load<T>(string)

T Load<T>(string filePath)

Parameters

filePath string

Returns

T

Type Parameters

T

Save(string, object, string)

void Save(string filePath, object sourceObj, string xmlRootName = null)

Parameters

filePath string
sourceObj object
xmlRootName string