コード例 #1
0
        internal static RoyalGazetteContent CreateContentObject(String iName)
        {
            RoyalGazetteContent retval = null;
            switch ( iName )
            {
                case RoyalGazetteContentRename.XmlLabel:
                    {
                        retval = new RoyalGazetteContentRename();
                        break;
                    }
                case RoyalGazetteContentStatus.XmlLabel:
                    {
                        retval = new RoyalGazetteContentStatus();
                        break;
                    }
                case RoyalGazetteContentCreate.XmlLabel:
                    {
                        retval = new RoyalGazetteContentCreate();
                        break;
                    }
                case RoyalGazetteContentAreaChange.XmlLabel:
                    {
                        retval = new RoyalGazetteContentAreaChange();
                        break;
                    }
                case RoyalGazetteContentAreaDefinition.XmlLabel:
                    {
                        retval = new RoyalGazetteContentAreaDefinition();
                        break;
                    }
                case RoyalGazetteContentReassign.XmlLabel:
                    {
                        retval = new RoyalGazetteContentReassign();
                        break;
                    }
                case RoyalGazetteContentAbolish.XmlLabel:
                    {
                        retval = new RoyalGazetteContentAbolish();
                        break;
                    }
                case RoyalGazetteContentConstituency.XmlLabel:
                    {
                        retval = new RoyalGazetteContentConstituency();
                        break;
                    }
                case RoyalGazetteContentMention.XmlLabel:
                    {
                        retval = new RoyalGazetteContentMention();
                        break;
                    }
                case RoyalGazetteContentCapital.XmlLabel:
                    {
                        retval = new RoyalGazetteContentCapital();
                        break;
                    }

            }
            return retval;
        }
コード例 #2
0
 protected override void DoCopy(RoyalGazetteContent other)
 {
     if (other != null)
     {
         base.DoCopy(other);
         if (other is RoyalGazetteContentStatus)
         {
             RoyalGazetteContentStatus iOtherStatus = (RoyalGazetteContentStatus)other;
             OldStatus = iOtherStatus.OldStatus;
             NewStatus = iOtherStatus.NewStatus;
         }
     }
 }
コード例 #3
0
        static internal RoyalGazetteContent CreateContentObject(String iName)
        {
            RoyalGazetteContent retval = null;

            switch (iName)
            {
            case RoyalGazetteContentRename.XmlLabel:
            {
                retval = new RoyalGazetteContentRename();
                break;
            }

            case RoyalGazetteContentStatus.XmlLabel:
            {
                retval = new RoyalGazetteContentStatus();
                break;
            }

            case RoyalGazetteContentCreate.XmlLabel:
            {
                retval = new RoyalGazetteContentCreate();
                break;
            }

            case RoyalGazetteContentAreaChange.XmlLabel:
            {
                retval = new RoyalGazetteContentAreaChange();
                break;
            }

            case RoyalGazetteContentAreaDefinition.XmlLabel:
            {
                retval = new RoyalGazetteContentAreaDefinition();
                break;
            }

            case RoyalGazetteContentReassign.XmlLabel:
            {
                retval = new RoyalGazetteContentReassign();
                break;
            }

            case RoyalGazetteContentAbolish.XmlLabel:
            {
                retval = new RoyalGazetteContentAbolish();
                break;
            }

            case RoyalGazetteContentConstituency.XmlLabel:
            {
                retval = new RoyalGazetteContentConstituency();
                break;
            }

            case RoyalGazetteContentMention.XmlLabel:
            {
                retval = new RoyalGazetteContentMention();
                break;
            }

            case RoyalGazetteContentCapital.XmlLabel:
            {
                retval = new RoyalGazetteContentCapital();
                break;
            }
            }
            return(retval);
        }
コード例 #4
0
 public RoyalGazetteContentStatus(RoyalGazetteContentStatus other)
 {
     DoCopy(other);
 }
コード例 #5
0
 public RoyalGazetteContentStatus(RoyalGazetteContentStatus other)
 {
     DoCopy(other);
 }