コード例 #1
0
 public RoyalGazetteIssue(RoyalGazetteIssue value)
 {
     IssuePostfix = value.IssuePostfix;
     IssuePrefix = value.IssuePrefix;
     IssueNumber = value.IssueNumber;
     IssueBook = value.IssueBook;
 }
コード例 #2
0
ファイル: RoyalGazetteIssue.cs プロジェクト: zenwalk/tambon
 public RoyalGazetteIssue(RoyalGazetteIssue value)
 {
     IssuePostfix = value.IssuePostfix;
     IssuePrefix  = value.IssuePrefix;
     IssueNumber  = value.IssueNumber;
     IssueBook    = value.IssueBook;
 }
コード例 #3
0
ファイル: RoyalGazette.cs プロジェクト: zenwalk/tambon
 public RoyalGazette()
 {
     Description      = string.Empty;
     URI              = string.Empty;
     Volume           = 0;
     PageInfo         = new RoyalGazettePageinfo();
     Issue            = new RoyalGazetteIssue();
     Title            = String.Empty;
     SubTitle         = String.Empty;
     Publication      = new DateTime();
     Sign             = new DateTime();
     Effective        = new DateTime();
     SignedBy         = String.Empty;
     SignedByPosition = GazetteSignPosition.Unknown;
 }
コード例 #4
0
ファイル: RoyalGazette.cs プロジェクト: zenwalk/tambon
 public RoyalGazette(RoyalGazette value)
 {
     Description      = value.Description;
     Volume           = value.Volume;
     URI              = value.URI;
     PageInfo         = new RoyalGazettePageinfo(value.PageInfo);
     Issue            = new RoyalGazetteIssue(value.Issue);
     Title            = value.Title;
     SubTitle         = value.SubTitle;
     Publication      = value.Publication;
     Sign             = value.Sign;
     Effective        = value.Effective;
     SignedByPosition = value.SignedByPosition;
     SignedBy         = value.SignedBy;
     foreach (RoyalGazetteContent entry in value.Content)
     {
         RoyalGazetteContent lNewContent = (RoyalGazetteContent)entry.Clone();
         Content.Add(lNewContent);
     }
 }
コード例 #5
0
ファイル: RoyalGazetteIssue.cs プロジェクト: zenwalk/tambon
 public int CompareTo(object iOther)
 {
     if (iOther is RoyalGazetteIssue)
     {
         Int32             retval = 0;
         RoyalGazetteIssue lOther = (RoyalGazetteIssue)iOther;
         retval = IssueBook.CompareTo(lOther.IssueBook);
         if (retval == 0)
         {
             retval = IssueNumber.CompareTo(lOther.IssueNumber);
             if (retval == 0)
             {
                 retval = String.Compare(IssuePrefix, lOther.IssuePrefix);
                 if (retval == 0)
                 {
                     retval = String.Compare(IssuePostfix, lOther.IssuePostfix);
                 }
             }
         }
         return(retval);
     }
     throw new InvalidCastException("Not a RoyalGazetteIssue");
 }