public static A CreateService <A>(IFactoryServiceType <A> type)
 {
     return(ThreadSecurityContext.CreateFactory(type));
 }
Пример #2
0
        internal A CreateFactory <A>(IFactoryServiceType <A> type)
        {
            CryptoStatus.IsReady();

            return((type as IFactoryService <A>).GetFunc(this).Invoke(type as IParameters <Algorithm>));
        }