示例#1
0
        /// <summary> return a copy of this part information object  </summary>
        /// <returns></returns>
        public Part_Info Copy()
        {
            Part_Info copy = new Part_Info();

            copy.Day         = day;
            copy.Day_Index   = Day_Index;
            copy.Enum1       = Enum1;
            copy.Enum1_Index = Enum1_Index;
            copy.Enum2       = Enum2;
            copy.Enum2_Index = Enum2_Index;
            copy.Enum3       = Enum3;
            copy.Enum3_Index = Enum3_Index;
            copy.Enum4       = Enum4;
            copy.Enum4_Index = Enum4_Index;
            copy.Month       = Month;
            copy.Month_Index = Month_Index;
            copy.Year        = Year;
            copy.Year_Index  = Year_Index;
            return(copy);
        }
        /// <summary> return a copy of this part information object  </summary>
        /// <returns></returns>
        public Part_Info Copy()
        {
            Part_Info copy = new Part_Info
            {
                Day         = day,
                Day_Index   = Day_Index,
                Enum1       = Enum1,
                Enum1_Index = Enum1_Index,
                Enum2       = Enum2,
                Enum2_Index = Enum2_Index,
                Enum3       = Enum3,
                Enum3_Index = Enum3_Index,
                Enum4       = Enum4,
                Enum4_Index = Enum4_Index,
                Month       = Month,
                Month_Index = Month_Index,
                Year        = Year,
                Year_Index  = Year_Index
            };

            return(copy);
        }
 /// <summary> Saves the data stored in this instance of the 
 /// element to the provided bibliographic object </summary>
 /// <param name="serialHierarchyObject">Serial hierarchy object to set to this object </param>
 /// <param name="SerialInfo"> Serial information to set to this object </param>
 public void Set_Serial_Info(Part_Info serialHierarchyObject, Serial_Info SerialInfo)
 {
     behaviorInfo.Set_Serial_Info(SerialInfo);
     Bib_Info.Series_Part_Info = serialHierarchyObject;
 }
 /// <summary> return a copy of this part information object  </summary>
 /// <returns></returns>
 public Part_Info Copy()
 {
     Part_Info copy = new Part_Info();
     copy.Day = day;
     copy.Day_Index = Day_Index;
     copy.Enum1 = Enum1;
     copy.Enum1_Index = Enum1_Index;
     copy.Enum2 = Enum2;
     copy.Enum2_Index = Enum2_Index;
     copy.Enum3 = Enum3;
     copy.Enum3_Index = Enum3_Index;
     copy.Enum4 = Enum4;
     copy.Enum4_Index = Enum4_Index;
     copy.Month = Month;
     copy.Month_Index = Month_Index;
     copy.Year = Year;
     copy.Year_Index = Year_Index;
     return copy;
 }
 /// <summary> return a copy of this part information object  </summary>
 /// <returns></returns>
 public Part_Info Copy()
 {
     Part_Info copy = new Part_Info
     {
         Day = day,
         Day_Index = Day_Index,
         Enum1 = Enum1,
         Enum1_Index = Enum1_Index,
         Enum2 = Enum2,
         Enum2_Index = Enum2_Index,
         Enum3 = Enum3,
         Enum3_Index = Enum3_Index,
         Enum4 = Enum4,
         Enum4_Index = Enum4_Index,
         Month = Month,
         Month_Index = Month_Index,
         Year = Year,
         Year_Index = Year_Index
     };
     return copy;
 }