コード例 #1
0
ファイル: File.cs プロジェクト: erossini/Searcharoo8
 /// <summary>
 /// Constructor requires all File attributes
 /// </summary>
 public File(string url, string title, string description, DateTime datecrawl, long length
     , Location gpsLocation
     , string extension
     , string keywords)
 {
     _Title = title.UnicodeToCharacter();
     _Description = description.UnicodeToCharacter();
     _CrawledDate = datecrawl;
     _Url = url.UnicodeToCharacter();
     _Size = length;
     _GpsLocation = gpsLocation;
     _Extension = extension;
     _KeywordString = keywords.UnicodeToCharacter();
     _IndexId = -1;  // [v7]
 }
コード例 #2
0
ファイル: Document.cs プロジェクト: erossini/Searcharoo8
 /// <summary>
 /// Added in [v6]
 /// </summary>
 protected bool SetGpsCoordinates(string coordinates)
 {
     this._GpsLocation = Location.FromString(coordinates);
     return (_GpsLocation != null);
 }