示例#1
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;
 }
示例#2
0
 public int CompareTo(object iOther)
 {
     if (iOther is RoyalGazettePageinfo)
     {
         RoyalGazettePageinfo lOther = (iOther as RoyalGazettePageinfo);
         Int32 retval = Page.CompareTo(lOther.Page);
         if (retval == 0)
         {
             if ((PageEnd != 0) & (lOther.PageEnd != 0))
             {
                 retval = PageEnd.CompareTo(lOther.PageEnd);
             }
         }
         return(retval);
     }
     throw new InvalidCastException("Not a RoyalGazettePageinfo");
 }
示例#3
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);
     }
 }
 public RoyalGazettePageinfo(RoyalGazettePageinfo iValue)
 {
     Page = iValue.Page;
     PageEnd = iValue.PageEnd;
 }
示例#5
0
 public RoyalGazettePageinfo(RoyalGazettePageinfo iValue)
 {
     Page    = iValue.Page;
     PageEnd = iValue.PageEnd;
 }