Sitecore 5.0 API

CodeBuilder Methods

The methods of the CodeBuilder class are listed below. For a complete list of CodeBuilder class members, see the CodeBuilder Members topic.

Public Instance Methods

AddBlankAdds the blank.
AddCommentOverloaded. Adds the comment.
AddRawAdds the raw.
AddStringStres the add.
AddUsingUses the add.
AddVariableOverloaded. Adds the variable.
AddVarRefAdds the var ref.
AssertContextAsserts the context.
EndAssignEnds the assign.
EndClassEnds the class.
EndEqualEnds the equal.
EndGetEnds the get.
EndIfEnds the if.
EndIfTrueEnds the if true.
EndMethodEnds the method.
EndMethodCallEnds the method call.
EndNamespaceEnds the namespace.
EndPropertyEnds the property.
EndReturnEnds the return.
EndSetEnds the set.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetCodeXmlGets the code xml.
GetCSharpCodeGets the csharp code.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
StartAssignStarts the assign.
StartClassOverloaded. Starts the class.
StartEqualStarts the equal.
StartGetStarts the get.
StartIfStarts the if.
StartIfTrueStarts the if true.
StartMethodOverloaded. Starts the method.
StartMethodCallOverloaded. Starts the method call.
StartNamespaceStarts the namespace.
StartPropertyOverloaded. Starts the property.
StartReturnStarts the return.
StartSetStarts the set.
TestTests the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

CodeBuilder Class | Sitecore.CodeDom Namespace