예제 #1
0
        protected override async Task <MsBuildCondition> AssignUpsertedReferences(MsBuildCondition record)
        {
            record.Condition = await _strings.UpsertAsync(record.Condition);

            record.ConditionId = record.Condition?.AsciiStringReferenceId ?? record.ConditionId;
            return(record);
        }
예제 #2
0
 protected override Expression <Func <MsBuildCondition, bool> > FindExisting(MsBuildCondition record)
 => existing
 => existing.ConditionId == record.ConditionId;
예제 #3
0
 protected override IEnumerable <object> EnumerateReferences(MsBuildCondition record)
 {
     yield return(record.Condition);
 }