Пример #1
0
        public void Add(IRequestedAsset child)
        {
            if (_objects == null)
            {
                _objects = new List <IRequestedAsset>();
            }

            _objects.Add(child);
        }
Пример #2
0
        public void Add(IRequestedAsset child)
        {
            if (_objects == null)
            {
                _objects = new List<IRequestedAsset>();
            }

            _objects.Add(child);
        }
Пример #3
0
        private void gatherFrom(IRequestedAsset asset)
        {
            if (_gatheredList.Contains(asset))
            {
                return;
            }
            _gatheredList.Add(asset);

            var allScripts = asset.AllFileDependencies();

            _scripts.Fill(allScripts);

            allScripts.Each(gatherFrom);
            asset.Dependencies().Each(gatherFrom);
        }
Пример #4
0
 public void AddDependency(IRequestedAsset asset)
 {
     _dependencies.Fill(asset);
 }
Пример #5
0
 public void AddDependency(IRequestedAsset asset)
 {
     _dependencies.Fill(asset);
 }