public string buildClassNestedString(string delimiter) //Used for specific mono input. Creates string off all nested non-namespace contexts { //Build qualifier list string result = ""; WrapContext context = parentContext; while (context != null) { //Check if done if (context.sourceType == null || String.IsNullOrEmpty(context.name)) { break; } //Add result += context.name + delimiter; //Continue context = context.parent; } result += name; //Return return(result); }
public List <WrapContext> buildContextList() { List <WrapContext> list = new List <WrapContext>(); WrapContext context = this; while (context != null) { //Add list.Insert(0, context); //Continue context = context.parent; } //Return return(list); }
public List <string> buildQualifiers() { List <string> list = new List <string>(); WrapContext context = this; while (context != null) { //Add if (!String.IsNullOrEmpty(context.name)) { list.Insert(0, context.name); } //Continue context = context.parent; } //Return return(list); }
public List <string> buildNamespaces() { List <string> list = new List <string>(); WrapContext context = this; while (context != null) { //Add if (context.sourceType == null && !String.IsNullOrEmpty(context.name)) { list.Insert(0, context.name); } //Continue context = context.parent; } //Return return(list); }