Esempio n. 1
0
        private void init(MurmurVersion version)
        {
            var      assemblyName = MurmurVersion.GetFileNameFromVersion(version.ToString());
            Assembly assembly     = Assembly.LoadFrom(assemblyName);
            Type     T            = assembly.GetType("Murmur.Instance");

            Instance = (IInstance)Activator.CreateInstance(T);
        }
Esempio n. 2
0
 public Adapter(MurmurVersion version)
 {
     init(version);
 }