Esempio n. 1
0
        /// <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;
        }
Esempio n. 2
0
 public VstsBuildDefinition(SourceCodeRepository sourceCode, string tenantCode)
 {
     SourceCode = sourceCode;
     TenantCode = tenantCode;
     State      = EntityStateEnum.NotCreated;
 }