Fellow Oak DICOM
Search Results for

    Show / Hide Table of Contents

    Class PDataTF

    P-DATA-TF

    Inheritance
    System.Object
    PDataTF
    Implements
    PDU
    System.IDisposable
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: FellowOakDicom.Network
    Assembly: fo-dicom.core.dll
    Syntax
    public class PDataTF : PDU, IDisposable

    Constructors

    PDataTF(IMemoryProvider)

    Initializes new P-DATA-TF

    Declaration
    public PDataTF(IMemoryProvider memoryProvider)
    Parameters
    Type Name Description
    IMemoryProvider memoryProvider

    Properties

    PDVs

    PDVs in this P-DATA-TF

    Declaration
    public List<PDV> PDVs { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<PDV>

    Methods

    Dispose()

    Disposes and clears the PDVs

    Declaration
    public void Dispose()

    Finalize()

    Finalizes P-DATA-TF to avoid issues with improper disposal

    Declaration
    protected void Finalize()

    GetLengthOfPDVs()

    Calculates the total length of the PDVs in this P-DATA-TF

    Declaration
    public uint GetLengthOfPDVs()
    Returns
    Type Description
    System.UInt32

    Length of PDVs

    Read(RawPDU)

    Reads P-DATA-TF from PDU buffer

    Declaration
    public void Read(RawPDU raw)
    Parameters
    Type Name Description
    RawPDU raw

    PDU buffer

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    WriteAsync(Stream, CancellationToken)

    Writes P-DATA-TF to the provided stream

    Declaration
    public async Task WriteAsync(Stream stream, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    System.IO.Stream stream

    The stream to write the PDU to

    System.Threading.CancellationToken cancellationToken

    The token that cancels the write operation

    Returns
    Type Description
    System.Threading.Tasks.Task

    A Task that represents the asynchronous operation

    Implements

    PDU
    System.IDisposable

    Extension Methods

    LinqExtensions.IsOneOf<T>(T, T[])
    In This Article
    Back to top Copyright (c) 2012-2025 fo-dicom contributors