コード例 #1
0
 public CreateSpriteAssetCommandFactory(ICreateSpriteAssetService createSpriteAssetService)
 {
     _createSpriteAssetService = createSpriteAssetService;
 }
コード例 #2
0
 public void SetUp()
 {
     _createSpriteAssetService = Substitute.For <ICreateSpriteAssetService>();
     _projectFile = Substitute.For <IProjectFile>();
     _command     = new CreateSpriteAssetCommand(_createSpriteAssetService, _projectFile);
 }
コード例 #3
0
 public CreateSpriteAssetCommand(ICreateSpriteAssetService createSpriteAssetService, IProjectFile textureFile)
 {
     _createSpriteAssetService = createSpriteAssetService;
     _textureFile = textureFile;
 }