Rock.Model.ConnectionWorkflowService.LoadCache C# (CSharp) Method

LoadCache() private static method

Loads the cache.
private static LoadCache ( ) : List
return List
        private static List<ConnectionWorkflow> LoadCache()
        {
            var triggers = new List<ConnectionWorkflow>();

            using ( var rockContext = new RockContext() )
            {
                foreach( var trigger in new ConnectionWorkflowService( rockContext )
                    .Queryable().AsNoTracking() )
                {
                    triggers.Add( trigger.Clone( false ) );
                }
            }

            return triggers;
        }