public override Result Initialize(InitializeInfo initInfo) { GCloudCommon.InitializeInfo = initInfo; if (initInfo == null) { throw new Exception("ApolloInfo could not be null!!"); } byte[] buffer; if (!initInfo.Encode(out buffer)) { return(new Result(ErrorCode.InnerError)); } return(new Result((ErrorCode)gcloud_init(buffer, buffer.Length))); }
public abstract Result Initialize(InitializeInfo initInfo);