示例#1
0
 public RoyalGazetteIssue(RoyalGazetteIssue value)
 {
     IssuePostfix = value.IssuePostfix;
     IssuePrefix = value.IssuePrefix;
     IssueNumber = value.IssueNumber;
     IssueBook = value.IssueBook;
 }
示例#2
0
 public RoyalGazetteIssue(RoyalGazetteIssue value)
 {
     IssuePostfix = value.IssuePostfix;
     IssuePrefix  = value.IssuePrefix;
     IssueNumber  = value.IssueNumber;
     IssueBook    = value.IssueBook;
 }
示例#3
0
 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
 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
 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");
 }