本文整理汇总了C#中ICSharpCode.InsertString方法的典型用法代码示例。如果您正苦于以下问题:C# ICSharpCode.InsertString方法的具体用法?C# ICSharpCode.InsertString怎么用?C# ICSharpCode.InsertString使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ICSharpCode
的用法示例。
在下文中一共展示了ICSharpCode.InsertString方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: InsertAction
public bool InsertAction(ICSharpCode.TextEditor.TextArea textArea, char ch)
{
if(ch == '1')
textArea.InsertString(String.Format("{0}", Name));
else
textArea.InsertString(String.Format("{0}.{1}", Schema, Name));
return false;
}
示例2: InsertAction
public bool InsertAction(ICSharpCode.TextEditor.TextArea textArea, char ch)
{
textArea.InsertString(String.Format("{0}", Name));
return false;
}
示例3: InsertAction
public bool InsertAction(ICSharpCode.TextEditor.TextArea textArea, char ch)
{
string ToWrite = String.Format("EXEC {0}.{1} {2}", Schema, Name, Environment.NewLine);
foreach (ISqlChild Ch in Childs)
ToWrite += String.Format("{0} = ''{3} --{1}{2}", Ch.Name, Ch.Type, Environment.NewLine, (Childs.IndexOf(Ch) == Childs.Count - 1 ? "" : ","));
if (ToWrite.EndsWith(", "))
ToWrite = ToWrite.Substring(0, ToWrite.Length - 2);
textArea.InsertString(ToWrite);
return false;
}
示例4: InsertAction
public bool InsertAction(ICSharpCode.TextEditor.TextArea textArea, char ch)
{
string ToWrite;
if (ch == '1')
ToWrite = String.Format("{0} (", Name);
else
ToWrite = String.Format("{0}.{1} (", Schema, Name);
foreach (ISqlChild Ch in Childs.Where(X => X.Kind == ChildType.Parameter))
ToWrite += String.Format("{0} /*{1}*/, ", Ch.Name, Ch.Type, Environment.NewLine);
if (ToWrite.EndsWith(", "))
ToWrite = ToWrite.Substring(0, ToWrite.Length - 2);
textArea.InsertString(ToWrite + ")");
return false;
}
示例5: InsertAction
public bool InsertAction(ICSharpCode.TextEditor.TextArea textArea, char ch)
{
string completion = proposal.Completion;
//if (DotStart)
// completion = string.Concat(".", completion);
textArea.InsertString(completion);
return true;
}