Class AutoSpecialProjekteExtensions
- Namespace
- BpNexT.NET.Extensions.Projekte
- Assembly
- BpNexT.NET.dll
Provides extension methods for the BpNT.AutoSpecialProjekte class.
public static class AutoSpecialProjekteExtensions
- Inheritance
-
objectAutoSpecialProjekteExtensions
Methods
AppendProtokoll(BpSpecialObject<AutoSpecialProjekte>, string, string)
Appends a protocol entry to the specified project in the BpNT.AutoSpecialProjekte.
public static void AppendProtokoll(this BpSpecialObject<AutoSpecialProjekte> autoSpecialProjekte, string prjNr, string text)
Parameters
autoSpecialProjekteBpSpecialObject<AutoSpecialProjekte>prjNrstringThe project number to which the protocol entry will be appended.
textstringThe text of the protocol entry to append.
Append<TProjekt>(BpSpecialObject<AutoSpecialProjekte>, int, string, int?, TProjekt)
Appends a new Projekt to the BpNT.AutoSpecialProjekte instance.
public static TProjekt Append<TProjekt>(this BpSpecialObject<AutoSpecialProjekte> autoSpecialProjekte, int projektArt, string adrNr, int? ansNr, TProjekt createProjekt) where TProjekt : IProjekte, new()
Parameters
autoSpecialProjekteBpSpecialObject<AutoSpecialProjekte>The BpNT.AutoSpecialProjekte instance to append the project to.
projektArtintThe type of project to append, represented by an integer.
adrNrstringThe address number associated with the project.
ansNrint?The optional branch number associated with the project. If null, the project will be created for the default branch.
createProjektTProjektAn instance of
TProjektthat contains the project data to be appended.
Returns
- TProjekt
Returns the appended project of type
TProjekt.
Type Parameters
TProjekt
Exceptions
Append<TProjekt>(BpSpecialObject<AutoSpecialProjekte>, int, string, TProjekt)
Appends a new Projekt to the BpNT.AutoSpecialProjekte instance.
public static TProjekt Append<TProjekt>(this BpSpecialObject<AutoSpecialProjekte> autoSpecialProjekte, int projektArt, string adrNr, TProjekt createProjekt) where TProjekt : IProjekte, new()
Parameters
autoSpecialProjekteBpSpecialObject<AutoSpecialProjekte>The BpNT.AutoSpecialProjekte instance to append the project to.
projektArtintThe type of project to append, represented by an integer.
adrNrstringThe address number associated with the project.
createProjektTProjektAn instance of
TProjektthat contains the project data to be appended.
Returns
- TProjekt
Returns the appended project of type
TProjekt.
Type Parameters
TProjekt
Exceptions
TryPost(BpSpecialObject<AutoSpecialProjekte>)
Attempts to post the BpNT.IAutoSpecialProjekte.
public static bool TryPost(this BpSpecialObject<AutoSpecialProjekte> autoSpecialProjekte)
Parameters
autoSpecialProjekteBpSpecialObject<AutoSpecialProjekte>The BpNT.IAutoSpecialProjekte to post.
Returns
- bool
trueif the post was successful; otherwise,false.