예제 #1
0
        public DigitalResource(String channel, Source source, DateTime timestamp, String matter, Humanity.FeedType feedType, String mime, String comment = null)
        {
            this.id        = String.Empty;
            this.timestamp = timestamp;
            this.matter    = matter;
            this.comment   = comment;

            this.channel    = channel;
            this.feedType   = feedType;
            this.source     = source;
            this.mime       = mime;
            this.properties = new List <IndexableProperty>();
            this.resources  = new List <DigitalResource>();
        }
예제 #2
0
        public Resource(String channel, Source source, DateTime timestamp, String matter, Humanity.FeedType feedType, String mime, String comment = null, params Domain.MetaInfoValue[] metainfos)
        {
            this.id        = String.Empty;
            this.timestamp = timestamp;
            this.matter    = matter;
            this.comment   = comment;

            this.channel    = channel;
            this.feedType   = feedType;
            this.source     = source;
            this.mime       = mime;
            this.properties = new List <IndexableProperty>();
            this.metainfos  = new List <MetaInfoValue>(metainfos);

            this.fuas = new List <String>();
            this.foremostResourceId     = null;
            this.subordinateResourceIds = new List <string>();
        }
예제 #3
0
 public Resource(String channel, Source source, DateTime timestamp, String matter, Humanity.FeedType feedType, String comment = null, params Domain.MetaInfoValue[] metainfos)
     : this(channel, source, timestamp, matter, feedType, null, comment, metainfos)
 {
 }
예제 #4
0
 public Source(SourceId id, Humanity.FeedType feed_type)
 {
     this.id         = id;
     this.feedType   = feed_type;
     this.properties = new List <IndexableProperty>();
 }
예제 #5
0
 public DigitalResource(String channel, Source source, DateTime timestamp, String matter, Humanity.FeedType feedType, String comment = null)
     : this(channel, source, timestamp, matter, feedType, null, comment)
 {
 }