Ejemplo n.º 1
0
 public void ReplaceVersion(string newVersion)
 {
     AssemblySource = DXControlsVersionHelper.ReplaceDXVersion(AssemblySource, newVersion);
 }
Ejemplo n.º 2
0
        public static IEnumerable <MultiReference> Concat(IEnumerable <MultiReference> first, IEnumerable <MultiReference> second)
        {
            var tResult = first.Concat(second).Distinct();

            foreach (var element in tResult)
            {
                if (element.Type == MultiReferenceType.Assembly && tResult.Any(x => x.Type == MultiReferenceType.Project && DXControlsVersionHelper.SimplifyDXVersion(x.AssemblySource) == DXControlsVersionHelper.SimplifyDXVersion(element.AssemblySource)))
                {
                    continue;
                }
                yield return(element);
            }
        }