コード例 #1
0
        public PrimaryObjectsController(
            IPrimaryObjectService primaryObjectService,
            ISecondaryObjectService secondaryObjectService)
        {
            Ensure.That(primaryObjectService, nameof(primaryObjectService)).IsNotNull();
            Ensure.That(secondaryObjectService, nameof(secondaryObjectService)).IsNotNull();

            this._primaryObjectService   = primaryObjectService;
            this._secondaryObjectService = secondaryObjectService;
        }