BudgetAnalyser.PersistenceOperations.PersistenceOperations C# (CSharp) Метод

PersistenceOperations() публичный Метод

public PersistenceOperations ( [ applicationDatabaseService, [ demoFileHelper, [ uiContext ) : System
applicationDatabaseService [
demoFileHelper [
uiContext [
Результат System
        public PersistenceOperations(
            [NotNull] IApplicationDatabaseService applicationDatabaseService,
            [NotNull] DemoFileHelper demoFileHelper,
            [NotNull] IUiContext uiContext)
        {
            if (applicationDatabaseService == null)
            {
                throw new ArgumentNullException(nameof(applicationDatabaseService));
            }

            if (demoFileHelper == null)
            {
                throw new ArgumentNullException(nameof(demoFileHelper));
            }

            if (uiContext == null)
            {
                throw new ArgumentNullException(nameof(uiContext));
            }

            this.uiContext = uiContext;
            this.applicationDatabaseService = applicationDatabaseService;
            this.demoFileHelper = demoFileHelper;

            this.uiContext.Messenger.Register<PasswordSetMessage>(this, OnPasswordSetMessageReceived);
        }