示例#1
0
 public ResourceHelper Include(string source)
 {
     _source.Add(new ResourceEntity {
         SourceType = _resourceType, DebugSource = source, ReleaseSource = source
     });
     return(this);
 }
示例#2
0
        public void AtFoot()
        {
            var resources = new ResourceCollection();

            resources.Name     = _resource.Name;
            resources.Position = ResourcePosition.Foot;
            _resource.Each(m =>
            {
                ResourceEntity entity = m.ToNew();
                entity.Position       = ResourcePosition.Foot;
                resources.Add(entity);
            });
            _onRegisted(resources);
        }