Example #1
0
		public virtual void OnLoadFromClipboard(DbDebugItem<TKey> debug, string text, string path, AbstractDb<TKey> abstractDb) {
			if (text.StartsWith("{") || text.Contains("(\r\n\t") || text.Contains("(\n\t") || path.IsExtension(".conf"))
				debug.FileType = FileType.Conf;
			else
				debug.FileType = FileType.Txt;
		}
Example #2
0
		public virtual void OnLoadDataFromClipboard(DbDebugItem<TKey> debug, string text, string path, AbstractDb<TKey> abstractDb) {
			DbLoader(debug, this);
		}