Beispiel #1
0
        // Token: 0x0600012E RID: 302 RVA: 0x0000A058 File Offset: 0x00008258
        public static void CopyPaths(IEnumerable <string> paths)
        {
            StringBuilder stringBuilder = new StringBuilder(8192);

            foreach (string text in paths)
            {
                if (text != null)
                {
                    string value = text.Trim();
                    if (!string.IsNullOrEmpty(value))
                    {
                        stringBuilder.AppendLine(value);
                    }
                }
            }
            ClipboardUtil.Copy(stringBuilder.ToString().Trim());
        }
Beispiel #2
0
            // Token: 0x060001AC RID: 428 RVA: 0x0000C9EC File Offset: 0x0000ABEC
            private void OnContextMenuCopyFullPath()
            {
                List <string> selectedPaths = this.GetSelectedPaths();

                ClipboardUtil.CopyPaths(selectedPaths);
            }