BaconographyPortable.ViewModel.MoreViewModel.MoreViewModel C# (CSharp) Method

MoreViewModel() public method

public MoreViewModel ( IBaconProvider baconProvider, IEnumerable ids, string targetName, string subreddit, Action loadMore, CommentViewModel parent, int depth, bool oddNesting ) : BaconographyPortable.Messages
baconProvider IBaconProvider
ids IEnumerable
targetName string
subreddit string
loadMore Action
parent CommentViewModel
depth int
oddNesting bool
return BaconographyPortable.Messages
        public MoreViewModel(IBaconProvider baconProvider, IEnumerable<string> ids, string targetName, string subreddit, Action<IEnumerable<string>, List<ViewModelBase>, ViewModelBase, ViewModelBase> loadMore, CommentViewModel parent, int depth, bool oddNesting)
        {
            _loadMore = loadMore;
            _parent = parent;
            _ids = ids;
            _targetName = targetName;
            _subreddit = subreddit;
			Depth = depth;
            Count = _ids.Count();
			OddNesting = oddNesting;
            //TODO use the targetname to determine the kind for now its always going to be comments but
            //that might change in the future
            Kind = "comment";

            _triggerLoad = new RelayCommand(TriggerLoadImpl);
        }