com.togethersoft.openapi.sci
Interface SciNetGenericFactory
- public interface SciNetGenericFactory
- extends SciGenericFactory
A creator of new .NET specific code parts of the model with the specified contents/properties.
Methods in this interface allow you to create .NET specific code parts in the same way as SciGenericFactory
In order to use additional metods you have to cast instance of factory:
SciNetGenericFactory netFactory = (SciNetGenericFactory)SciModelAccess.getModel().getFactory(SciLanguage.CSHARP); //accessing instance of generic factory for C#
Note that this applicable only to .NET languages C# and VB.NET
- Author:
- TogetherSoft
- Since: Together 6.0
- See Also: <{SciGenericFactory}>
| Methods inherited from interface com.togethersoft.openapi.sci.SciGenericFactory |
newClass, newClass, newClasses, newClasses, newCodeBlock, newCodeBlock, newComment, newComment, newExpression, newExpression, newFile, newFile, newInitializer, newInitializer, newMember, newMember, newMemberDefinition, newMemberDefinition, newMembers, newMembers, newParameter, newParameter, newStatement, newStatement |
newNetAttribute
public SciNetAttribute newNetAttribute(String text)
throws SciGenericFactoryException
- Creates a new
SciNetAttribute with the specified contents.- See Also:
- <{SciNetAttribute}>, <{SciNetHelper}>
newNetAttributeSection
public SciNetAttributeSection newNetAttributeSection(String text)
throws SciGenericFactoryException
- Creates a new
SciNetAttributeSection with the specified contents.- See Also:
- <{SciNetAttributeSection}>, <{SciNetHelper}>