Exemplo n.º 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]);
 }
Exemplo n.º 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]);
 }
Exemplo n.º 3
0
 public WirecastLayer LayerByName(string Name)
 {
     return(WirecastLayer.CreateFromObject(Name, Invoke("LayerByName", Name), this));
 }
Exemplo n.º 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));
 }
Exemplo n.º 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];
 }
Exemplo n.º 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];
 }