/// <since_tizen> 3</since_tizen>
public BarcodeType Type { get; }
+ /// <summary>
+ /// Returns a string that represents the current object.
+ /// </summary>
+ /// <value>A string that represents the current object.</value>
public override string ToString() =>
$"Region={Region}, Message={Message}, Type={Type.ToString()}";
}
/// <param name="qrConfig">The <see cref="QrConfiguration"/> instance.</param>
/// <param name="imageConfig">The <see cref="BarcodeImageConfiguration"/> that contains information about the file to be generated.</param>
/// <exception cref="ArgumentNullException">
- /// <paramref name="messsage"/> is null.\n
+ /// <paramref name="message"/> is null.\n
/// -or-\n
/// <paramref name="qrConfig"/> is null.\n
/// -or-\n
/// information about the file to be generated.</param>
/// <param name="config">The configuration of the barcode generator. This value can be null.</param>
/// <exception cref="ArgumentNullException">
- /// <paramref name="messsage"/> is null.\n
+ /// <paramref name="message"/> is null.\n
/// -or-\n
/// <paramref name="qrConfig"/> is null.\n
/// -or-\n
/// <param name="imageConfig">The <see cref="BarcodeImageConfiguration"/> that contains
/// information about the file to be generated.</param>
/// <exception cref="ArgumentNullException">
- /// <paramref name="messsage"/> is null.\n
+ /// <paramref name="message"/> is null.\n
/// -or-\n
/// <paramref name="imageConfig"/> is null.
/// </exception>
/// information about the file to be generated.</param>
/// <param name="config">The configuration of the barcode generator. This value can be null.</param>
/// <exception cref="ArgumentNullException">
- /// <paramref name="messsage"/> is null.\n
+ /// <paramref name="message"/> is null.\n
/// -or-\n
/// <paramref name="imageConfig"/> is null.
/// </exception>
}
}
+ /// <summary>
+ /// Releases all resources used by the <see cref="EngineConfiguration"/> object.
+ /// </summary>
public void Dispose()
{
Dispose(true);
GC.SuppressFinalize(this);
}
+ /// <summary>
+ /// Releases the resources used by the <see cref="EngineConfiguration"/> object.
+ /// </summary>
+ /// <param name="disposing">
+ /// true to release both managed and unmanaged resources; false to release only unmanaged resources.
+ /// </param>
protected virtual void Dispose(bool disposing)
{
if (_disposed)
}
/// <summary>
- /// Initializes a new instance of the <see cref="FaceRecognitionModel"/> class withe the specified path.
+ /// Initializes a new instance of the <see cref="FaceRecognitionModel"/> class with the specified path.
/// </summary>
/// <remarks>
/// Models have been saved by <see cref="Save()"/> can be loaded.
Validate("Failed to learn");
}
+ /// <summary>
+ /// Releases all resources used by the <see cref="FaceRecognitionModel"/> object.
+ /// </summary>
public void Dispose()
{
Dispose(true);
GC.SuppressFinalize(this);
}
+ /// <summary>
+ /// Releases the resources used by the <see cref="FaceRecognitionModel"/> object.
+ /// </summary>
+ /// <param name="disposing">
+ /// true to release both managed and unmanaged resources; false to release only unmanaged resources.
+ /// </param>
protected virtual void Dispose(bool disposing)
{
if (_disposed)
ret.Validate("Failed to save tracking model to file");
}
+ /// <summary>
+ /// Releases all resources used by the <see cref="FaceTrackingModel"/> object.
+ /// </summary>
public void Dispose()
{
Dispose(true);
GC.SuppressFinalize(this);
}
+ /// <summary>
+ /// Releases the resources used by the <see cref="FaceTrackingModel"/> object.
+ /// </summary>
+ /// <param name="disposing">
+ /// true to release both managed and unmanaged resources; false to release only unmanaged resources.
+ /// </param>
protected virtual void Dispose(bool disposing)
{
if (_disposed)
#endregion
#region IDisposable-support
+
+ /// <summary>
+ /// Releases all resources used by the <see cref="ImageObject"/> object.
+ /// </summary>
public void Dispose()
{
Dispose(true);
GC.SuppressFinalize(this);
}
+ /// <summary>
+ /// Releases the resources used by the <see cref="ImageObject"/> object.
+ /// </summary>
+ /// <param name="disposing">
+ /// true to release both managed and unmanaged resources; false to release only unmanaged resources.
+ /// </param>
protected virtual void Dispose(bool disposing)
{
if (_disposed)
ret.Validate("Failed to save tracking model to file");
}
+ /// <summary>
+ /// Releases all resources used by the <see cref="ImageTrackingModel"/> object.
+ /// </summary>
public void Dispose()
{
Dispose(true);
GC.SuppressFinalize(this);
}
+ /// <summary>
+ /// Releases the resources used by the <see cref="ImageTrackingModel"/> object.
+ /// </summary>
+ /// <param name="disposing">
+ /// true to release both managed and unmanaged resources; false to release only unmanaged resources.
+ /// </param>
protected virtual void Dispose(bool disposing)
{
if (_disposed)
}
}
+ /// <summary>
+ /// Releases all resources used by the <see cref="MediaVisionSource"/> object.
+ /// </summary>
public void Dispose()
{
Dispose(true);
GC.SuppressFinalize(this);
}
+ /// <summary>
+ /// Releases the resources used by the <see cref="MediaVisionSource"/> object.
+ /// </summary>
+ /// <param name="disposing">
+ /// true to release both managed and unmanaged resources; false to release only unmanaged resources.
+ /// </param>
protected virtual void Dispose(bool disposing)
{
if (_disposed)
/// <param name="modelPath">Path to the face recognition model.</param>
/// <exception cref="ArgumentNullException"><paramref name="modelPath"/> is null.</exception>
/// <exception cref="NotSupportedException">The feature is not supported.</exception>
- /// <since_tizen> 3</since_tizen>
+ /// <since_tizen>3</since_tizen>
public PersonRecognitionConfiguration(string modelPath)
{
FaceRecognitionModelPath = modelPath;
/// <summary>
/// Gets or sets face recognition model file path.
/// </summary>
- /// <exception cref="ArgumentNullException"><paramref name="modelPath"/> is null.</exception>
+ /// <exception cref="ArgumentNullException"><paramref name="value"/> is null.</exception>
/// <exception cref="ObjectDisposedException">The <see cref="PersonRecognitionConfiguration"/> already has been disposed of.</exception>
- /// <since_tizen> 3</since_tizen>
+ /// <since_tizen>3</since_tizen>
public string FaceRecognitionModelPath
{
get
/// <since_tizen> 3</since_tizen>
public Point[] Points { get; }
+ /// <summary>
+ /// Returns a string that represents the current object.
+ /// </summary>
+ /// <value>A string that represents the current object.</value>
public override string ToString() =>
$"[{{{Points[0].ToString()}}}, {{{Points[1].ToString()}}}, {{{Points[2].ToString()}}}, {{{Points[3].ToString()}}}]";
}
UnsubscribeEventTrigger(Handle, source.StreamId).Validate("Failed to unsubscribe event trigger");
}
+
+ /// <summary>
+ /// Releases all resources used by the <see cref="SurveillanceEngine"/> object.
+ /// </summary>
public void Dispose()
{
Dispose(true);
GC.SuppressFinalize(this);
}
+ /// <summary>
+ /// Releases the resources used by the <see cref="SurveillanceEngine"/> object.
+ /// </summary>
+ /// <param name="disposing">
+ /// true to release both managed and unmanaged resources; false to release only unmanaged resources.
+ /// </param>
protected virtual void Dispose(bool disposing)
{
if (_disposed)