public TestJob(SomeHelper helper, IConfiguration configuration, IBusControl busControl, IBusControlProvider busControlProvider) { _helper = helper; _configuration = configuration; _busControl = busControl; _busControlProvider = busControlProvider; }
public void ToRadixBlock() { float[] values = _randomSingles; int[] radix = _workspaceI; SomeHelperBase <float, int> someHelper = new SomeHelper(); for (int loop = 0; loop < OpsPerInvoke; loop++) { someHelper.ToRadix(values, radix); } }
public bool Match(HttpContextBase httpContext, Route route, string parameterName, RouteValueDictionary values, RouteDirection routeDirection) { var alias = values[parameterName]; // Assume, that I already have dictionary of handles and ids for them var publicHandlesDictionary = SomeStaticClass.Dic; if (publicHandlesDictionary.ContainsValue(alias)) { //adding encId as route parameter values["id"] = SomeHelper.Encrypt(publicHandlesDictionary.FirstOrDefault(x => x.Value == alias).Key); return(true); } return(false); }
public ConvertToFullOperationCreator( IKernel container) { this.get_operationsFactory = () => container.Resolve <OperationsFactory>; m_someHelper = container.Resolve <SomeHelper>(); }
public TestJob(SomeHelper helper, IConfiguration configuration, DataContext context) { _helper = helper; _configuration = configuration; _context = context; }
public string Phrases(string Phrase) { return(SomeHelper.Phrases(Phrase)); }