Slide 17
Slide 17 text
3-4 コード作成 (3)プロンプト入力2回目
●
出力されたinterfaceファイル
using System;
// OSInterface属性を付与
[OSInterface]
public interface IExcelService
{
// OSAction属性を付与
[OSAction]
byte[] WriteCell(byte[] excelFile, string sheetName, string cellAddress, string value);
[OSAction]
string ReadCell(byte[] excelFile, string sheetName, string cellAddress);
}
External Logicが要求する
属性が付与されている
ActionのI/Fにマッピングさ
れるメソッドのシグネチャに
も問題なさそう