An alternative to UBB.threads
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
FLocal/Web.Core/RegistryCleaner.cs

15 lines
336 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Web.Core {
public static class RegistryCleaner {
public static void CleanRegistry<TKey, TData>() where TKey : struct where TData : IDataObject<TKey, TData>, new() {
Registry<TKey, TData>.instance.Clear();
}
}
}