私はIBMページで.NET用のfilenetサンプルコードを探していましたが、これを見つけました。
namespace CESample
{
// Represents the connection with the Content Engine.
public class CEConnection
{
private IDomain domain;
private IObjectStoreSet ost;
private ArrayList osNames;
private String domainName;
private bool isCredentialsEstablished;
// Constructor
public CEConnection()
{
domain = null;
ost = null;
osNames = new ArrayList();
domainName = null;
isCredentialsEstablished = false;
}
//... other methods
オブジェクトの作成中に常にすべての変数をnullに設定するのは、これで問題ありませんか?そして、boolと新しいArrayList()はどうですか?それは私たちがそれを行うべき方法ですか?ブール値を常にfalseに設定しますか?