public static WirecastLayer CreateFromObject(string name, object p, WirecastDocument wirecastDocument) { if (!oWirecastLayersByName.ContainsKey(name)) { oWirecastLayersByName[name] = new WirecastLayer(p, wirecastDocument); } return(oWirecastLayersByName[name]); }
public static WirecastLayer CreateFromObject(int index, object p, WirecastDocument wirecastDocument) { if (!oWirecastLayers.ContainsKey(index)) { oWirecastLayers[index] = new WirecastLayer(p, wirecastDocument); } return(oWirecastLayers[index]); }
public WirecastLayer LayerByName(string Name) { return(WirecastLayer.CreateFromObject(Name, Invoke("LayerByName", Name), this)); }
/// <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)); }
public static WirecastLayer CreateFromObject(string name, object p, WirecastDocument wirecastDocument) { if (!oWirecastLayersByName.ContainsKey(name)) { oWirecastLayersByName[name] = new WirecastLayer(p,wirecastDocument); } return oWirecastLayersByName[name]; }
public static WirecastLayer CreateFromObject(int index, object p, WirecastDocument wirecastDocument) { if (!oWirecastLayers.ContainsKey(index)) { oWirecastLayers[index] = new WirecastLayer(p,wirecastDocument); } return oWirecastLayers[index]; }