C# 클래스 MongoAdapters.MeasurementWrapper

A wrapper object used for easy insertion to and retrieval from a MongoDB database.
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

GetMeasurement() 공개 메소드

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

MeasurementWrapper() 공개 메소드

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

MeasurementWrapper() 공개 메소드

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