Show / Hide Table of Contents

Class SingleInstanceLifetime

Provides the ability to release the lifetime of the current application instance by obtaining and releasing a local mutex. Please dispose this object to release the instance.

Inheritance
object
SingleInstanceLifetime
Implements
IDisposable
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Sartorius.SAF.Infrastructure
Assembly: Sartorius.SAF.dll
Syntax
public class SingleInstanceLifetime : IDisposable

Constructors

View Source

SingleInstanceLifetime(string)

Initializes a new instance of the SingleInstanceLifetime class.

Declaration
public SingleInstanceLifetime(string applicationId)
Parameters
Type Name Description
string applicationId

Methods

View Source

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Declaration
public void Dispose()
View Source

Dispose(bool)

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
bool disposing

Indicates disposing.

Implements

IDisposable

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX