C# 클래스 Guidelines.Core.Bootstrap.Bootstrapper

Bootstrap foundation class that ensure a bootstrap process occurs only once.
Bootstrapping should only occur once. Bootstrapping will use a double check locking singleton pattern with Bootstrapped to see if a bootstrap process has occured. Areas that are constantly edited are extracted out into their own registrar classes to reduce the need to edit this class.
상속: IBootstrapper
파일 보기 프로젝트 열기: basicdays/Guidelines 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
Bootstrapped bool
Padlock object

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Bootstrap ( ) : IBootstrapper

Call to begin bootstrapping. Can only be run once.

Bootstrapper ( IDependencyRegistrar dependencyRegistrar, ILogger logger ) : System
Dispose ( ) : void

메소드 상세

Bootstrap() 공개 메소드

Call to begin bootstrapping. Can only be run once.
public Bootstrap ( ) : IBootstrapper
리턴 IBootstrapper

Bootstrapper() 공개 메소드

public Bootstrapper ( IDependencyRegistrar dependencyRegistrar, ILogger logger ) : System
dependencyRegistrar IDependencyRegistrar
logger ILogger
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

프로퍼티 상세

Bootstrapped 보호되어 있는 정적으로 프로퍼티

Marks whether or not bootstrapping has taken place.
protected static bool Bootstrapped
리턴 bool

Padlock 보호되어 있는 정적으로 프로퍼티

protected static object Padlock
리턴 object