Castle.ManagementExtensions.ManagedObjectName.Setup C# (CSharp) Method

Setup() protected method

Parses the full name extracting the domain and properties.
protected Setup ( String name ) : void
name String Full name.
return void
		protected virtual void Setup(String name)
		{
			if (name == null)
			{
				throw new ArgumentNullException("name");
			}

			if (name.IndexOf(':') != -1)
			{
				String[] splitted = name.Split(new char[] { ':' });
				
				SetupDomain(splitted[0]);
				SetupProperties(splitted[1]);
			}
			else
			{
				SetupDomain(name);
			}
		}