/// <summary> /// Factories the specified application. /// </summary> /// <param name="app">The application.</param> /// <param name="results">The results.</param> /// <param name="storyName">Name of the story.</param> /// <param name="storyElevation">The story elevation. [L]</param> /// <param name="storyHeight">The story height. [L]</param> /// <param name="isMasterStory">True: Story is a master story.</param> /// <param name="similarToStory">If the story is not a master story, which master story the story is similar to .</param> /// <param name="spliceAbove">True: Story has a splice height.</param> /// <param name="spliceHeight">The story splice height. [L]</param> /// <param name="color">The display color for the story specified as an Integer.</param> /// <returns>Diaphragm.</returns> internal static Story Factory(ApiCSiApplication app, StoryResults results, string storyName, double storyElevation, double storyHeight, bool isMasterStory, string similarToStory, bool spliceAbove, double spliceHeight, int color) { Story item = new Story(app, results, storyName) { Elevation = storyElevation, Height = storyHeight, IsMasterStory = isMasterStory, SimilarToStory = similarToStory, SpliceAbove = spliceAbove, SpliceHeight = spliceHeight, Color = color }; item.FillGUID(); return(item); }
/// <summary> /// Factories the specified application. /// </summary> /// <param name="app">The application.</param> /// <param name="results">The results.</param> /// <param name="storyName">Name of the unique.</param> /// <returns>Diaphragm.</returns> internal static Story Factory(ApiCSiApplication app, StoryResults results, string storyName) { Story item = new Story(app, results, storyName); item.FillData(); return(item); }
/// <summary> /// Initializes a new instance of the <see cref="Story" /> class. /// </summary> /// <param name="app">The application.</param> /// <param name="results">The results.</param> /// <param name="name">The name.</param> protected Story(ApiCSiApplication app, StoryResults results, string name) : base(app) { _results = results; Name = name; }
/// <summary> /// Initializes a new instance of the <see cref="LoadCombinations" /> class. /// </summary> /// <param name="app">The application.</param> internal Stories(ApiCSiApplication app) : base(app) { Results = new StoryResults(_apiApp); }
/// <summary> /// Initializes a new instance of the <see cref="Stories" /> class. /// </summary> internal Stories() { Results = new StoryResults(); }
/// <summary> /// Initializes a new instance of the <see cref="Story" /> class. /// </summary> /// <param name="results">The results.</param> /// <param name="name">The name.</param> protected Story(StoryResults results, string name) { _results = results; Name = name; }
/// <summary> /// Factories the specified application. /// </summary> /// <param name="results">The results.</param> /// <param name="storyName">Name of the unique.</param> /// <returns>Diaphragm.</returns> internal static Story Factory(StoryResults results, string storyName) { Story item = new Story(results, storyName); return(item); }