/// <summary>
 /// Initializes a new instance of the <see cref="LoadCombination" /> class.
 /// </summary>
 /// <param name="analyzer">The analyzer.</param>
 /// <param name="loadCases">The load cases.</param>
 /// <param name="loadCombinations">The load combinations.</param>
 /// <param name="name">The name.</param>
 private LoadCombination(
     Analyzer analyzer,
     LoadCases loadCases,
     LoadCombinations loadCombinations,
     string name) : base(name)
 {
     _analyzer         = analyzer;
     _loadCases        = loadCases;
     _loadCombinations = loadCombinations;
 }
        /// <summary>
        /// Returns a new load combination class.
        /// </summary>
        /// <param name="analyzer">The analyzer.</param>
        /// <param name="loadCases">The load cases.</param>
        /// <param name="loadCombinations">The load combinations.</param>
        /// <param name="uniqueName">Unique load combination name.</param>
        /// <returns>Steel.</returns>
        internal static LoadCombination Factory(
            Analyzer analyzer,
            LoadCases loadCases,
            LoadCombinations loadCombinations,
            string uniqueName)
        {
            LoadCombination loadCombination = new LoadCombination(analyzer, loadCases, loadCombinations, uniqueName);

            return(loadCombination);
        }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LoadCombinationsDeflection"/> class.
 /// </summary>
 /// <param name="loadCombinations">The load combinations.</param>
 public LoadCombinationsDeflection(LoadCombinations loadCombinations)
 {
     _loadCombinations = loadCombinations;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="LoadCombinationsStrength"/> class.
 /// </summary>
 /// <param name="loadCombinations">The load combinations.</param>
 public LoadCombinationsStrength(LoadCombinations loadCombinations)
 {
     _loadCombinations = loadCombinations;
 }