/// <summary>
        /// update current instance
        /// </summary>
        /// <param name="newState">new state</param>
        public void Update(SourceCodeRepository newState)
        {
            if (newState == null)
            {
                return;
            }

            RepoVstsId = newState.RepoVstsId;
            State      = newState.State;
        }
Exemple #2
0
 public VstsBuildDefinition(SourceCodeRepository sourceCode, string tenantCode)
 {
     SourceCode = sourceCode;
     TenantCode = tenantCode;
     State      = EntityStateEnum.NotCreated;
 }