AjaxControlToolkit.Reference.Core.DocBase.DocBase C# (CSharp) Method

DocBase() public method

public DocBase ( string fullName ) : System
fullName string
return System
        public DocBase(string fullName)
        {
            var nameMatch = Regex.Match(fullName, @"(?<namespace>.*)\.(?<name>[^.]+)$");
            if(!nameMatch.Success)
                throw new ArgumentException("Unable to split fullName", "fullName");

            Name = nameMatch.Groups["name"].Value == "ctor" ? "constructor" : nameMatch.Groups["name"].Value;
            Namespace = nameMatch.Groups["namespace"].Value;
        }