Golem.Core.TaskRunner.SetContextualInformationIfInheritsRecipeBase C# (CSharp) Method

SetContextualInformationIfInheritsRecipeBase() private method

private SetContextualInformationIfInheritsRecipeBase ( object recipeInstance ) : void
recipeInstance object
return void
        private void SetContextualInformationIfInheritsRecipeBase(object recipeInstance)
        {
            var tmpRecipe = recipeInstance as RecipeBase;

            if(tmpRecipe == null)
                return;

            tmpRecipe.AllAssemblies = cataloger.AssembliesExamined;
            tmpRecipe.AllRecipes = cataloger.Recipes;
        }