Exemple #1
0
 public static WirecastLayer CreateFromObject(string name, object p, WirecastDocument wirecastDocument)
 {
     if (!oWirecastLayersByName.ContainsKey(name))
     {
         oWirecastLayersByName[name] = new WirecastLayer(p, wirecastDocument);
     }
     return(oWirecastLayersByName[name]);
 }
Exemple #2
0
 public static WirecastLayer CreateFromObject(int index, object p, WirecastDocument wirecastDocument)
 {
     if (!oWirecastLayers.ContainsKey(index))
     {
         oWirecastLayers[index] = new WirecastLayer(p, wirecastDocument);
     }
     return(oWirecastLayers[index]);
 }
Exemple #3
0
 public WirecastLayer LayerByName(string Name)
 {
     return(WirecastLayer.CreateFromObject(Name, Invoke("LayerByName", Name), this));
 }
Exemple #4
0
 /// <summary>
 /// Return layer by 1-based Index
 /// </summary>
 /// <param name="index"></param>
 /// <returns></returns>
 public WirecastLayer LayerByOneBasedIndex(int index)
 {
     return(WirecastLayer.CreateFromObject(index, Invoke("LayerByIndex", index), this));
 }
Exemple #5
0
 public static WirecastLayer CreateFromObject(string name, object p, WirecastDocument wirecastDocument)
 {
     if (!oWirecastLayersByName.ContainsKey(name))
     {
         oWirecastLayersByName[name] = new WirecastLayer(p,wirecastDocument);
     }
     return oWirecastLayersByName[name];
 }
Exemple #6
0
 public static WirecastLayer CreateFromObject(int index, object p,  WirecastDocument wirecastDocument)
 {
     if (!oWirecastLayers.ContainsKey(index))
     {
         oWirecastLayers[index] = new WirecastLayer(p,wirecastDocument);
     }
     return oWirecastLayers[index];
 }