示例#1
0
 /// <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(Serial_Info SerialInfo)
 {
     serialInfo = SerialInfo;
 }
 /// <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;
 }
        private static string show_hierarchy_value( Serial_Info serialInfo )
        {
            StringBuilder builder = new StringBuilder();
            if ((serialInfo != null) && (serialInfo.Count > 0))
            {
                builder.Append(serialInfo[0].Display + " (" + serialInfo[0].Order + ")");
            }
            if ((serialInfo != null) && (serialInfo.Count > 1))
            {
                if (builder.Length > 0)
                    builder.Append(" -- ");
                builder.Append(serialInfo[1].Display + " (" + serialInfo[1].Order + ")");
            }
            if ((serialInfo != null) && (serialInfo.Count > 2))
            {
                if (builder.Length > 0)
                    builder.Append(" -- ");
                builder.Append(serialInfo[2].Display + " (" + serialInfo[2].Order + ")");
            }

            return builder.ToString();
        }
 /// <summary> Saves the data stored in this instance of the 
 /// element to the provided bibliographic object </summary>
 /// <param name="SerialInfo"> Serial information to set to this object </param>
 public void Set_Serial_Info(Serial_Info SerialInfo)
 {
     serialInfo = SerialInfo;
 }