/// <summary> /// Adds a new Spandrel Label. /// </summary> /// <param name="spandrelResults">The spandrel results.</param> /// <param name="name">The name.</param> /// <param name="isMultiStory">if set to <c>true</c> [is multi story].</param> /// <returns>Spandrel.</returns> internal static Spandrel Add( SpandrelResults spandrelResults, string name, bool isMultiStory) { return(Factory(spandrelResults, name)); }
/// <summary> /// Returns a frame object of the specified name. /// </summary> /// <param name="spandrelResults">The spandrel results.</param> /// <param name="uniqueName">Name of the unique.</param> /// <returns>Frame.</returns> internal static Spandrel Factory( SpandrelResults spandrelResults, string uniqueName) { Spandrel item = new Spandrel(spandrelResults, uniqueName); return(item); }
/// <summary> /// Returns a frame object of the specified name. /// </summary> /// <param name="app">The application.</param> /// <param name="spandrelResults">The spandrel results.</param> /// <param name="uniqueName">Name of the unique.</param> /// <returns>Frame.</returns> internal static Spandrel Factory(ApiCSiApplication app, SpandrelResults spandrelResults, string uniqueName) { Spandrel item = new Spandrel(app, spandrelResults, uniqueName); item.FillData(); return(item); }
/// <summary> /// Adds a new Spandrel Label. /// </summary> /// <param name="app">The application.</param> /// <param name="spandrelResults">The spandrel results.</param> /// <param name="name">The name.</param> /// <param name="isMultiStory">if set to <c>true</c> [is multi story].</param> /// <returns>Spandrel.</returns> internal static Spandrel AddSpandrel(ApiCSiApplication app, SpandrelResults spandrelResults, string name, bool isMultiStory) { ApiSpandrel spandrel = getApiSpandrel(app); List <string> existingItems = GetNameList(spandrel); if (existingItems.Contains(name)) { return(null); } spandrel.SetSpandrel(name, isMultiStory); return(Factory(app, spandrelResults, name)); }
/// <summary> /// Initializes a new instance of the <see cref="LoadCombinations" /> class. /// </summary> /// <param name="app">The application.</param> internal Spandrels(ApiCSiApplication app) : base(app) { Results = new SpandrelResults(_apiApp); }
/// <summary> /// Initializes a new instance of the <see cref="Spandrel" /> class. /// </summary> /// <param name="app">The application.</param> /// <param name="spandrelResults">The spandrel results.</param> /// <param name="name">The name.</param> protected Spandrel(ApiCSiApplication app, SpandrelResults spandrelResults, string name) : base(app, name) { _results = spandrelResults; }
/// <summary> /// Initializes a new instance of the <see cref="Spandrels" /> class. /// </summary> internal Spandrels() { Results = new SpandrelResults(); }
/// <summary> /// Initializes a new instance of the <see cref="Spandrel" /> class. /// </summary> /// <param name="spandrelResults">The spandrel results.</param> /// <param name="name">The name.</param> protected Spandrel( SpandrelResults spandrelResults, string name) : base(name) { _results = spandrelResults; }