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
System.Object
SingleInstanceLifetime
Implements
System.IDisposable
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.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
System.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(Boolean)

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

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

Indicates disposing.

Implements

System.IDisposable

Extension Methods

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