Server.Commands.CategoryLine.CategoryLine C# (CSharp) Méthode

CategoryLine() public méthode

public CategoryLine ( string input ) : System
input string
Résultat System
		public CategoryLine( string input )
		{
			int index;

			for ( index = 0; index < input.Length; ++index )
			{
				if ( Char.IsLetter( input, index ) )
					break;
			}

			if ( index >= input.Length )
				throw new FormatException( String.Format( "Input string not correctly formatted ('{0}')", input ) );

			m_Indentation = index;
			m_Text = input.Substring( index );
		}