Ejemplo n.º 1
0
        public override void Run()
        {
            var formats = ContentFormats.Split(';');
            List <ContentFormat> contentFormats = new List <ContentFormat>();

            foreach (var format in formats)
            {
                contentFormats.Add((ContentFormat)Enum.Parse(typeof(ContentFormat), format));
            }
            var    t     = Type.GetType("APITaskManagement.Logic.Filer." + Classname);
            IFiler filer = (IFiler)Activator.CreateInstance(t, contentFormats);

            filer.AddLogger(new SystemLogger());
            filer.AddLogger(new ApplicationLogger());
            filer.Send(Shares, this);
            LatestResponse = filer.GetLatestResponse();
        }