/// <summary> /// Returns a frame object of the specified name. /// </summary> /// <param name="pierResults">The pier results.</param> /// <param name="uniqueName">Name of the unique.</param> /// <returns>Frame.</returns> internal static Pier Factory( PierResults pierResults, string uniqueName) { Pier item = new Pier(pierResults, uniqueName); return(item); }
/// <summary> /// Returns a frame object of the specified name. /// </summary> /// <param name="app">The application.</param> /// <param name="pierResults">The pier results.</param> /// <param name="uniqueName">Name of the unique.</param> /// <returns>Frame.</returns> internal static Pier Factory(ApiCSiApplication app, PierResults pierResults, string uniqueName) { Pier item = new Pier(app, pierResults, uniqueName); item.FillData(); return(item); }
/// <summary> /// Adds a new Pier Label. /// </summary> /// <param name="app">The application.</param> /// <param name="pierResults">The pier results.</param> /// <param name="name">The name.</param> /// <returns>Pier.</returns> internal static Pier AddPier(ApiCSiApplication app, PierResults pierResults, string name) { ApiPier pier = getApiPier(app); List <string> existingItems = GetNameList(pier); if (existingItems.Contains(name)) { return(null); } pier.SetPier(name); return(Factory(app, pierResults, name)); }
/// <summary> /// Initializes a new instance of the <see cref="API.Core.Program.ModelBehavior.Definition.LoadCombinations" /> class. /// </summary> internal Piers() { Results = new PierResults(); }
/// <summary> /// Initializes a new instance of the <see cref="API.Core.Program.ModelBehavior.Definition.LoadCombinations" /> class. /// </summary> /// <param name="app">The application.</param> internal Piers(ApiCSiApplication app) : base(app) { Results = new PierResults(_apiApp); }
/// <summary> /// Initializes a new instance of the <see cref="Pier" /> class. /// </summary> /// <param name="app">The application.</param> /// <param name="pierResults">The pier results.</param> /// <param name="name">The name.</param> protected Pier(ApiCSiApplication app, PierResults pierResults, string name) : base(app, name) { _results = pierResults; }
/// <summary> /// Initializes a new instance of the <see cref="Pier" /> class. /// </summary> /// <param name="pierResults">The pier results.</param> /// <param name="name">The name.</param> protected Pier( PierResults pierResults, string name) : base(name) { _results = pierResults; }