DBus.Bus.Open C# (CSharp) Method

Open() public static method

public static Open ( string address ) : Bus
address string
return Bus
		public static new Bus Open (string address)
		{
			if (address == null)
				throw new ArgumentNullException ("address");

			Bus bus;
			if (buses.TryGetValue (address, out bus))
				return bus;

			bus = new Bus (address);
			buses[address] = bus;

			return bus;
		}

Usage Example

Example #1
0
 static SystemBusValue()
 {
     bus = Address.StarterBusType == "system" ? Starter : (Address.System != null ? Bus.Open(Address.System) : null);
 }
All Usage Examples Of DBus.Bus::Open