P4API.ClientApi.Init C# (CSharp) 메소드

Init() 공개 메소드

public Init ( Error e ) : void
e Error
리턴 void
        public void Init(Error e)
        {
            p4apiPINVOKE.ClientApi_Init(swigCPtr, Error.getCPtr(e));
        }

Usage Example

예제 #1
0
    public static void Main(string[] argv)
    {
        ClientApi client = new ClientApi();
        // ClientUser ui = new ClientUser();
        SampleUI ui = new SampleUI();
        Error error = new Error();

        client.Init(error);
        client.Run("info", ui);

        client.SetArgv(new string[] { "-u", "cmarshall" });
        client.Run("clients", ui);
        client.Final(error);
    }