C# Class MongoAdapters.MeasurementWrapper

A wrapper object used for easy insertion to and retrieval from a MongoDB database.
显示文件 Open project: GridProtectionAlliance/gsf Class Usage Examples

Public Methods

Method Description
GetMeasurement ( ) : IMeasurement

Returns a new measurement equivalent to the one being wrapped.

MeasurementWrapper ( ) : System

Creates an empty instance of the MeasurementWrapper class.

MeasurementWrapper ( IMeasurement measurement ) : System

Creates a new instance of the MeasurementWrapper class.

Method Details

GetMeasurement() public method

Returns a new measurement equivalent to the one being wrapped.
public GetMeasurement ( ) : IMeasurement
return IMeasurement

MeasurementWrapper() public method

Creates an empty instance of the MeasurementWrapper class.
public MeasurementWrapper ( ) : System
return System

MeasurementWrapper() public method

Creates a new instance of the MeasurementWrapper class.
public MeasurementWrapper ( IMeasurement measurement ) : System
measurement IMeasurement The measurement to be wrapped by the wrapper.
return System