Class UploadBuilder
- Namespace
- TypedRest.CodeGeneration.TypeScript.Endpoints.Raw
- Assembly
- TypedRest.CodeGeneration.TypeScript.dll
Builds TypeScript code for UploadEndpoints.
public class UploadBuilder : BuilderBase<UploadEndpoint>, IBuilder<UploadEndpoint>, IBuilder
- Inheritance
-
objectUploadBuilder
- Implements
- Inherited Members
Methods
GetBase(string, UploadEndpoint, IEndpointGenerator)
Returns the TypedRest type the endpoint derives from, any additional types generated along the way, and any constructor arguments beyond the referrer and the relative URI.
protected override (TsIdentifier baseType, IEnumerable<ITsType> types, IEnumerable<TsExpression> extraArguments) GetBase(string key, UploadEndpoint endpoint, IEndpointGenerator generator)
Parameters
keystringendpointUploadEndpointgeneratorIEndpointGenerator
Returns
GetBaseType(UploadEndpoint, IEndpointGenerator)
Returns the TypedRest type the endpoint derives from.
protected override TsIdentifier GetBaseType(UploadEndpoint endpoint, IEndpointGenerator generator)
Parameters
endpointUploadEndpointgeneratorIEndpointGenerator