public ResourceHelper Include(string source) { _source.Add(new ResourceEntity { SourceType = _resourceType, DebugSource = source, ReleaseSource = source }); return(this); }
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); }