Interface ILayerByBarCount
A reinforcement layer defined by the number of bundles or single bars in the layer.
Inherited Members
Namespace: Oasys.AdSec.Reinforcement.Layers
Assembly: cs.temp.dll.dll
Syntax
public interface ILayerByBarCount : ILayer
Remarks
ILayerByBarCount inherits ILayer.
It defines a reinforcement layer by the number of bundles or single bars. The bundles or single bars are spaced out evenly over the available space.
Examples
Properties
Count
The number of bars in the layer.
Declaration
int Count { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentException | When the number of bars is not a positive and finite value. |
Methods
Create(Int32, IBarBundle)
Creates a new ILayerByBarCount from the position count and bar (or bundle of bars) to be placed at each position.
Declaration
static ILayerByBarCount Create(int count, IBarBundle barBundle)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | count | Defines the number of bars in the layer. |
| IBarBundle | barBundle | Defines the bar (or bundle of bars) that will be placed at each position. |
Returns
| Type | Description |
|---|---|
| ILayerByBarCount | Reinforcement layer with the specified bar count and bar bundle. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentException | When the count is not a positive and finite value. |