public void AddText(SourceCodeTextBuilder builder) { switch (Modifier) { case TypeVisibilityModifier.Public: builder.Append(VisibilityText.PublicText); break; case TypeVisibilityModifier.Internal: builder.Append(VisibilityText.InternalText); break; } }
public void AddText(SourceCodeTextBuilder builder) { switch (Modifier) { case StaticClassAccessorVisibilityModifier.Internal: builder.Append(VisibilityText.InternalText); break; case StaticClassAccessorVisibilityModifier.Private: builder.Append(VisibilityText.PrivateText); break; } }
public void AddText(SourceCodeTextBuilder builder) { switch (Modifier) { case StaticClassFieldModifier.ReadOnly: builder.Append("readonly"); break; case StaticClassFieldModifier.Volatile: builder.Append("volatile"); break; } }
public void AddText(SourceCodeTextBuilder builder) { switch (OrderByType) { case QueryOrderByType.Ascending: builder.Append("ascending"); break; case QueryOrderByType.Descending: builder.Append("descending"); break; } }
public void AddText(SourceCodeTextBuilder builder) { switch (InheritanceModifier) { case SealedClassIndexerInheritanceModifier.New: builder.Append(InheritanceModifierText.NewText); break; case SealedClassIndexerInheritanceModifier.Override: builder.Append(InheritanceModifierText.OverrideText); break; } }
public void AddText(SourceCodeTextBuilder builder) { switch (OperatorType) { case ConversionOperatorType.Explicit: builder.Append("explicit"); break; case ConversionOperatorType.Implicit: builder.Append("implicit"); break; } }
public void AddText(SourceCodeTextBuilder builder) { switch (Modifier) { case AbstractAccessorVisibilityModifier.Internal: builder.Append(VisibilityText.InternalText); break; case AbstractAccessorVisibilityModifier.Protected: builder.Append(VisibilityText.ProtectedText); break; } }
public void AddText(SourceCodeTextBuilder builder) { if (!string.IsNullOrWhiteSpace(EmptyBodyText)) { builder.Append(EmptyBodyText); } }
public void AddText(SourceCodeTextBuilder builder) { switch (Modifier) { case ParameterModifier.Out: builder.Append("out"); break; case ParameterModifier.Params: builder.Append("params"); break; case ParameterModifier.Ref: builder.Append("ref"); break; } }
public void AddText(SourceCodeTextBuilder builder) { switch (InheritanceModifier) { case InterfaceMemberInheritanceModifier.New: builder.Append(InheritanceModifierText.NewText); break; } }
public void AddText(SourceCodeTextBuilder builder) { switch (Modifier) { case ClassMemberVisibilityModifier.Public: builder.Append(VisibilityText.PublicText); break; case ClassMemberVisibilityModifier.Internal: builder.Append(VisibilityText.InternalText); break; case ClassMemberVisibilityModifier.Protected: builder.Append(VisibilityText.ProtectedText); break; case ClassMemberVisibilityModifier.Private: builder.Append(VisibilityText.PrivateText); break; } }
public void AddText(SourceCodeTextBuilder builder) { switch (InheritanceModifier) { case ClassMemberInheritanceModifier.New: builder.Append(InheritanceModifierText.NewText); break; case ClassMemberInheritanceModifier.Override: builder.Append(InheritanceModifierText.OverrideText); break; case ClassMemberInheritanceModifier.Static: builder.Append(InheritanceModifierText.StaticText); break; case ClassMemberInheritanceModifier.Virtual: builder.Append(InheritanceModifierText.VirtualText); break; } }
public void AddText(SourceCodeTextBuilder builder) { builder.Append("namespace"); }
public void AddText(SourceCodeTextBuilder builder) { builder.Append(BuiltInType.ToString().ToLower()); }
public void AddText(SourceCodeTextBuilder builder) { builder.Append("return"); }
public void AddText(SourceCodeTextBuilder builder) { builder.Append("finally"); }
public void AddText(SourceCodeTextBuilder builder) { builder.Append("abstract"); }
public void AddText(SourceCodeTextBuilder builder) { builder.Append("typeof"); }
public void AddText(SourceCodeTextBuilder builder) { builder.Append(Constant.ToString()); }
public void AddText(SourceCodeTextBuilder builder) { builder.Append("delegate"); }
public void AddText(SourceCodeTextBuilder builder) { builder.Append("operator"); }
public void AddText(SourceCodeTextBuilder builder) { builder.Append("default"); }
public void AddText(SourceCodeTextBuilder builder) { builder.Append("continue"); }
public void AddText(SourceCodeTextBuilder builder) { builder.Append(Constant); }
public void AddText(SourceCodeTextBuilder builder) { builder.Append("interface"); }
public void AddText(SourceCodeTextBuilder builder) { builder.Append(operatorTypes[OperatorType]); }
public void AddText(SourceCodeTextBuilder builder) { builder.Append("add"); }
public void AddText(SourceCodeTextBuilder builder) { builder.Append("enum"); }
public void AddText(SourceCodeTextBuilder builder) { builder.Append(InheritanceModifierText.StaticText); }
public void AddText(SourceCodeTextBuilder builder) { builder.Append("select"); }
public void AddText(SourceCodeTextBuilder builder) { builder.Append("partial"); }