Table of Contents

Class AutoSpecialProjekteExtensions

Namespace
BpNexT.NET.Extensions.Projekte
Assembly
BpNexT.NET.dll

Provides extension methods for the BpNT.AutoSpecialProjekte class.

public static class AutoSpecialProjekteExtensions
Inheritance
object
AutoSpecialProjekteExtensions

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

autoSpecialProjekte BpSpecialObject<AutoSpecialProjekte>
prjNr string

The project number to which the protocol entry will be appended.

text string

The 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

autoSpecialProjekte BpSpecialObject<AutoSpecialProjekte>

The BpNT.AutoSpecialProjekte instance to append the project to.

projektArt int

The type of project to append, represented by an integer.

adrNr string

The address number associated with the project.

ansNr int?

The optional branch number associated with the project. If null, the project will be created for the default branch.

createProjekt TProjekt

An instance of TProjekt that contains the project data to be appended.

Returns

TProjekt

Returns the appended project of type TProjekt.

Type Parameters

TProjekt

Exceptions

Exception

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

autoSpecialProjekte BpSpecialObject<AutoSpecialProjekte>

The BpNT.AutoSpecialProjekte instance to append the project to.

projektArt int

The type of project to append, represented by an integer.

adrNr string

The address number associated with the project.

createProjekt TProjekt

An instance of TProjekt that contains the project data to be appended.

Returns

TProjekt

Returns the appended project of type TProjekt.

Type Parameters

TProjekt

Exceptions

Exception

TryPost(BpSpecialObject<AutoSpecialProjekte>)

Attempts to post the BpNT.IAutoSpecialProjekte.

public static bool TryPost(this BpSpecialObject<AutoSpecialProjekte> autoSpecialProjekte)

Parameters

autoSpecialProjekte BpSpecialObject<AutoSpecialProjekte>

The BpNT.IAutoSpecialProjekte to post.

Returns

bool

true if the post was successful; otherwise, false.