• Introduction
  • Theory
  • Guides
  • Tutorials
  • FAQ
  • Articles
  • Documentation
  • PDF
Search Results for

    Show / Hide Table of Contents
    • Changelog
    • Contributing
    • Code paths
    • Debugging
    • Code of conduct
    • Commands
      • Help
      • Analyze Long Recording
      • False Colour Spectrograms
      • Concatenate Index Files
    • Config files
      • GenericRecognizerConfig
      • CommonParameters
      • OscillationParameters
      • HarmonicParameters
      • PostProcessingConfig
      • AnalyzerConfig
    • API
      • Acoustics.Shared
        • AnalysisIo
        • AnalysisIoInputDirectory
        • AppConfigHelper
        • Base58
        • Binary
        • ByteCountFormatter
        • DateTimeFormatter
        • FileDateHelpers
        • FilenameHelpers
        • ImageChrome
        • Interval<T>
        • IntervalExtensions
        • InvalidDataSetException
        • InvalidFileDateException
        • IOrderer<TOrder>
        • Json
        • Json.IntervalConverter
        • Json.LegacyTimeSpanDataConverter
        • MediaTypeExtGroup
        • MediaTypeGroup
        • MediaTypes
        • Meta
        • MultiException
        • NonClosingStreamWrapper
        • OrderCoordinator<T>
        • Orderer<TOrder, TOrderProperty>
        • PathDiagnostics
        • PathDiagnostics.PathDiffReport
        • PathUtils
        • Plugins
        • ProcessRunner
        • ProcessRunner.ProcessMaximumRetriesException
        • SortDirection
        • SpectrogramType
        • SunTimes
        • SunTimes.Coords
        • SunTimes.LatitudeCoords
        • SunTimes.LatitudeCoords.Direction
        • SunTimes.LongitudeCoords
        • SunTimes.LongitudeCoords.Direction
        • TempFileHelper
        • TimeSpanFormatter
        • Topology
        • TwoDimensionalArray
        • Validation
        • ValidationExtensions
        • Yaml
        • YamlTypeTagAttribute
      • Acoustics.Shared.ColorScales
        • ColorBrewer
        • ColorBrewer.DivergingPalettes
        • ColorBrewer.QualitativePalettes
        • ColorBrewer.SequentialMultipleHuesPalettes
        • ColorBrewer.SequentialSingleHuePalettes
        • Palette
        • Type
      • Acoustics.Shared.ConfigFile
        • Config
        • ConfigFile
        • ConfigFileException
        • ConfigFileExtensions
        • ConfigSerializeContractResolver
        • IConfig
        • INamedProfiles<T>
        • IProfiles<T>
      • Acoustics.Shared.Contracts
        • Contract
      • Acoustics.Shared.Csv
        • Csv
        • CsvIntervalConverter
        • CsvSetPointConverter
        • TopologyEnumConverter
      • Acoustics.Shared.Extensions
        • CartesianExtension
        • RandomExtensions
      • Acoustics.Shared.ImageSharp
        • DeltaImageProcessor<TPixelBg, TPixelFg>
        • DeltaImageProcessor<TPixelFg>
        • DeltaPixelBlender<TPixel>
        • Drawing
        • Drawing.NoAA
        • IInterval2<TX, TY>
        • RotateFlipType
      • Acoustics.Shared.Logging
        • Log4NetTextWriter
        • Log4NetTextWriter.Mode
        • Logging
      • Acoustics.Tools
        • AudioFilePreparer
        • AudioReadingRequest
        • AudioUtilityInfo
        • AudioUtilityModifiedInfo
        • AudioUtilityRequest
        • BandPassType
        • SpectrogramRequest
      • Acoustics.Tools.Audio
        • AbstractAudioUtility
        • AbstractSpectrogramUtility
        • AbstractUtility
        • AudioFormatNotSupportedException
        • AudioUtilityException
        • BitDepthOperationNotImplemented
        • ChannelNotAvailableException
        • ChannelSelectionOperationNotImplemented
        • CustomSpectrogramUtility
        • FfmpegAudioUtility
        • FfmpegRawPcmAudioUtility
        • IAudioUtility
        • ISpectrogramUtility
        • MasterAudioUtility
        • Mp3SpltAudioUtility
        • Mp3SpltAudioUtility.SplitFileInfo
        • ShntoolAudioUtility
        • SoxAudioUtility
        • SoxAudioUtility.SoxResampleQuality
        • SoxSpectrogramUtility
        • WavPackAudioUtility
      • Acoustics.Tools.Wav
        • IWavReader
        • WavAudioInfo
        • WavChunk
        • WavReader
        • WavReader.WaveFormat
        • WavStreamReader
        • WavUtils
      • AcousticWorkbench
        • AcousticEventService
        • AcousticWorkbenchResponse<T>
        • Api
        • AudioRecordingService
        • AuthenticatedApi
        • AuthenticationService
        • AuthenticationService.EmailLoginRequest
        • AuthenticationService.LoginRequest
        • AuthenticationService.LoginResponse
        • Error
        • IApi
        • IAuthenticatedApi
        • MediaService
        • Meta
        • Service
        • Service.HttpResponseException
        • UrlGenerator
      • AcousticWorkbench.Models
        • AudioEvent
        • AudioRecording
        • Available
        • CommonParameters
        • FormatInfo
        • ImageFormatInfo
        • Media
        • Recording
        • Tagging
      • AForge.Imaging.Filters
        • BaseUsingCopyPartialFilter
        • CannyEdgeDetector
      • AnalysisBase
        • AbstractStrongAnalyser
        • AnalysisCoordinator
        • AnalysisResult
        • AnalysisResult2
        • AnalysisSettings
        • AnalyzerConfig
        • AudioRecordingTooShortException
        • Author
        • Bibliography
        • Citation
        • FileSegment
        • FileSegment.FileDateBehavior
        • IAnalyser2
        • ICiteable
        • IHasStatus
        • ISourcePreparer
        • SaveBehavior
        • SaveBehaviorExtensions
        • SegmentSettings<TSegment>
        • SegmentSettingsBase
        • SegmentSplitException
        • Status
        • TimeAlignment
      • AnalysisBase.Extensions
        • ModifiedInfoExtensions
      • AnalysisBase.ResultBases
        • EventBase
        • EventIndex
        • ITemporalEvent
        • ResultBase
        • SpectralIndexBase
        • SummaryIndexBase
      • AnalysisBase.Segment
        • InvalidSegmentException
        • ISegment<TSource>
        • SourceMetadata
      • AnalysisPrograms
        • AcousticIndices
        • AcousticIndices.AcousticIndicesConfig
        • Aed
        • Aed.AedConfiguration
        • Aed.Arguments
        • AnalysesAvailable
        • Audio2InputForConvCnn
        • Audio2InputForConvCnn.Arguments
        • Audio2InputForConvCnn.AudioToSonogramResult
        • Audio2InputForConvCnn.CsvDataRecord
        • Audio2InputForConvCnn.SpeciesCounts
        • AudioCutter
        • AudioCutter.Arguments
        • AudioFileCheck
        • AudioFileCheck.Arguments
        • BuildMetadata
        • ChannelIntegrityAnalyzer
        • CheckEnvironment
        • CheckEnvironment.Arguments
        • ConcatenateIndexFiles
        • ConcatenateIndexFiles.Arguments
        • Create4Sonograms
        • Create4Sonograms.Arguments
        • Crow
        • DifferenceSpectrogram
        • DifferenceSpectrogram.Arguments
        • DrawEasyImage
        • DrawEasyImage.Arguments
        • DrawLongDurationSpectrograms
        • DrawLongDurationSpectrograms.Arguments
        • DrawSummaryIndexTracks
        • DrawSummaryIndexTracks.Arguments
        • DummyAnalysis
        • DummyAnalysis.Arguments
        • EPR
        • EPR.Arguments
        • FileRenamer
        • FileRenamer.Arguments
        • GroundParrotRecogniser
        • GroundParrotRecogniser.Arguments
        • Human1
        • KoalaMale
        • KoalaMale.KoalaMaleResults
        • LSKiwi3
        • LSKiwi3.Arguments
        • LSKiwiHelper
        • LSKiwiROC
        • LSKiwiROC.Arguments
        • MahnooshSandpit
        • MahnooshSandpit.Arguments
        • MainEntry
        • OscillationRecogniser
        • OscillationRecogniser.Arguments
        • OscillationsGeneric
        • OscillationsGeneric.Arguments
        • PlanesTrainsAndAutomobiles
        • PreprocessorForConvDnn
        • PreprocessorForSurfAnalysis
        • RheobatrachusSilus
        • Sandpit
        • Sandpit.Arguments
        • Segment
        • Segment.Arguments
        • SnrAnalysis
        • SnrAnalysis.Arguments
        • SpeciesAccumulationCurve
        • SpeciesAccumulationCurve.Arguments
        • SpeciesAccumulationStats
        • SPT
        • SPT.Arguments
        • SurfAnalysis
        • SurfAnalysis.Arguments
        • SurfAnalysis.AudioToSonogramResult
        • SurfAnalysis.CsvDataRecord
        • SurfAnalysis.SpeciesCounts
      • AnalysisPrograms.AcousticWorkbench.Orchestration
        • EventMetadataResolver
        • RemoteSegment
        • RemoteSegmentWithData
      • AnalysisPrograms.AnalyseLongRecordings
        • AnalyseLongRecording
        • AnalyseLongRecording.Arguments
      • AnalysisPrograms.ContentDescription
        • BuildModel
        • BuildModel.Arguments
        • UseModel
        • UseModel.CdConfig
      • AnalysisPrograms.Draw.RibbonPlots
        • RibbonPlot
        • RibbonPlot.Arguments
      • AnalysisPrograms.Draw.Zooming
        • DrawZoomingSpectrograms
        • DrawZoomingSpectrograms.Arguments
        • DrawZoomingSpectrograms.Arguments.ZoomActionType
      • AnalysisPrograms.EventStatistics
        • EventStatisticsAnalysis
        • EventStatisticsEntry
        • EventStatisticsEntry.Arguments
        • ImportedEvent
        • ImportedEvent.ImportedEventNameClassMap
      • AnalysisPrograms.Production
        • AnalysisOptionDevilException
        • CommandLineApplicationExtensions
        • CommandLineArgumentException
        • CustomHelpTextGenerator
        • ExceptionLookup
        • ExceptionLookup.ExceptionStyle
        • FileSystemProvider
        • FileSystemProvider.Options
        • InvalidAudioChannelException
        • InvalidDurationException
        • InvalidStartOrEndException
        • MissingDataException
        • NoDeveloperMethodException
        • PhysicalConsoleLogger
      • AnalysisPrograms.Production.Arguments
        • AnalyserArguments
        • DebugOptions
        • HelpArgs
        • ListArgs
        • LogVerbosity
        • MainArgs
        • SourceAndConfigArguments
        • SourceArguments
        • SourceConfigOutputDirArguments
        • SubCommandBase
      • AnalysisPrograms.Production.Parsers
        • DateTimeOffsetParser
        • DirectoryInfoParser
        • FileInfoParser
        • TimeSpanParser
      • AnalysisPrograms.Production.Validation
        • DirectoryExistsOrCreateAttribute
        • ExistingFileAttribute
        • InRangeAttribute
        • NotExistingFileAttribute
        • OneOfThese
      • AnalysisPrograms.Recognizers
        • GenericRecognizer
        • GenericRecognizer.GenericRecognizerConfig
        • NinoxStrenua
        • NinoxStrenua.NinoxStrenuaConfig
        • PetaurusAustralis
        • PetaurusAustralis.PetaurusAustralisConfig
        • PetaurusBreviceps
        • PetaurusBreviceps.PetaurusBrevicepsConfig
        • PetaurusNorfolcensis
        • PetaurusNorfolcensis.PetaurusNorfolcensisConfig
      • AnalysisPrograms.Recognizers.Base
        • BlobParameters
        • CommonParameters
        • DctParameters
        • ForwardTrackParameters
        • HarmonicParameters
        • IEventRecognizer
        • MinAndMaxBandwidthParameters
        • MultiRecognizer
        • MultiRecognizer.MultiRecognizerConfig
        • OnebinTrackParameters
        • OneframeTrackParameters
        • OscillationParameters
        • RecognizerBase
        • RecognizerBase.RecognizerConfig
        • RecognizerEntry
        • RecognizerEntry.Arguments
        • RecognizerResults
        • UpwardTrackParameters
      • AnalysisPrograms.Recognizers.Birds
        • ArdeaInsignis
        • AtrichornisRufescens
        • AtrichornisRufescens.AtrichornisRufescensConfig
        • CalyptorhynchusLathami
        • CalyptorhynchusLathami.CalyptorhynchusLathamiConfig
        • ClimacterisPicumnus
        • ClimacterisPicumnus.ClimacterisPicumnusConfig
        • LewiniaPectoralis
        • LewinsRailConfig
        • ManorinaMelanophrys
        • ManorinaMelanophrys.ManorinaMelanophrysConfig
        • NinoxConnivens
        • NinoxConnivens.NinoxConnivensConfig
        • TytoNovaehollandiae
        • TytoNovaehollandiae.TytoNovaehollandiaeConfig
        • TytoTenebricosa
        • TytoTenebricosa.TytoTenebricosaConfig
      • AnalysisPrograms.Recognizers.Frogs
        • LitoriaBicolor
        • LitoriaBicolorConfig
        • LitoriaCaerulea
        • LitoriaRothii
        • LitoriaRubella
      • AnalysisPrograms.SourcePreparers
        • LocalSourcePreparer
        • RemoteSourcePreparer
        • RemoteSourcePreparerException
      • AnalysisPrograms.SpectralPeakTracking
        • SpectralPeakTrackingConfig
        • SpectralPeakTrackingEntry
        • SpectralPeakTrackingEntry.Arguments
      • AnalysisPrograms.SpectrogramGenerator
        • Audio2Sonogram
        • Audio2Sonogram.Arguments
        • AudioToSonogramResult
        • SpectrogramGenerator
        • SpectrogramGeneratorConfig
        • SpectrogramImageType
      • AnalysisPrograms.StandardizedFeatures
        • StandardizedFeatureExtraction
        • StandardizedFeatureExtractionConfig
        • StandardizedFeatureExtractionConfig.BandsProperties
        • StandardizedFeatureExtractionConfig.Bandwidth
      • AudioAnalysisTools
        • AcousticComplexityIndex
        • AcousticEntropy
        • AcousticEvent
        • AcousticEvent.AcousticEventClassMap
        • ActivityAndCover
        • AnalysisKeys
        • BirdClefExperiment1
        • BirdClefExperiment1.Arguments
        • BirdClefExperiment1.Output
        • BlobEvent
        • ChannelIntegrity
        • ChannelIntegrity.Arguments
        • ChannelIntegrityIndices
        • ChirpEvent
        • ClickEvent
        • ClusterInfo
        • ConfigKeys
        • ConfigKeys.EndpointDetection
        • ConfigKeys.ImageSave
        • ConfigKeys.Mfcc
        • ConfigKeys.Recording
        • ConfigKeys.Sonogram
        • ConfigKeys.SonogramTypes
        • ConfigKeys.Windowing
        • CrossCorrelation
        • EndpointDetectionConfiguration
        • FindMatchingEvents
        • FrommoltProject
        • HarmonicAnalysis
        • HarmonicEvent
        • IPointData
        • ISignalToImage
        • ISpectralPoint
        • ITracks<T>
        • MfccConfiguration
        • OscillationEvent
        • Oscillations2010
        • Oscillations2012
        • Oscillations2014
        • Oscillations2014.FreqVsOscillationsResult
        • Oscillations2019
        • PointOfInterest
        • ResultsTools
        • RidgeDetection
        • RidgeDetection.RidgeDetectionConfiguration
        • SiteDescription
        • SpectralActivity
        • SpectralCentroid
        • SpectralClustering
        • SpectralClustering.ClusteringParameters
        • SpectralClustering.TrainingDataInfo
        • SpectralPeakTracking2018
        • SpectralPeakTracking2018.Output
        • SpectralPeakTrackingSettings
        • SpectralPeakTracks
        • SprTools
        • SummaryActivity
        • SunAndMoon
        • SunAndMoon.SunMoonTides
        • SURFFeatures
        • TemporalEvent
        • TowseySignalToImage
        • UnitConverters
        • WebSignalToImage
        • WhipEvent
        • WhistleEvent
      • AudioAnalysisTools.ContentDescriptionTools
        • ContentAlgorithms
        • ContentSignatures
        • ContentVisualization
        • DataProcessing
        • DescriptionResult
        • EditStatus
        • FunctionalTemplate
        • SourceAudioProvenance
        • TemplateCollection
        • TemplateManifest
      • AudioAnalysisTools.DSP
        • Clipping
        • DSP_Frames
        • DSP_Frames.EnvelopeAndFft
        • DSP_IIRFilter
        • DspFilters
        • FeatureExtraction
        • FeatureLearning
        • FeatureLearningSettings
        • FFT2D
        • FreqScaleType
        • FrequencyScale
        • KmeansClustering
        • KmeansClustering.Output
        • LocalContrastNormalisation
        • MFCCStuff
        • NoiseProfile
        • NoiseReductionType
        • NoiseRemoval_Briggs
        • NoiseRemovalModal
        • OctaveFreqScale
        • PatchSampling
        • PatchSampling.SamplingMethod
        • PcaWhitening
        • PcaWhitening.Output
        • PowerSpectralDensity
        • SNR
        • SNR.BackgroundNoise
        • SNR.SnrStatistics
        • WaveType
        • WavInfo
        • WavWriter
      • AudioAnalysisTools.Events
        • EventCommon
        • EventExtentions
        • EventFilters
        • InstantEvent
        • SpectralEvent
        • SpectralPoint
      • AudioAnalysisTools.Events.Drawing
        • EventDrawer
        • EventRenderingOptions
        • IDrawableEvent
      • AudioAnalysisTools.Events.Interfaces
        • IInstantEvent
        • ISpectralBand
        • ISpectralEvent
        • ITrack
      • AudioAnalysisTools.Events.Tracks
        • Track
        • TrackType
      • AudioAnalysisTools.Events.Types
        • ChatterEvent
        • CompositeEvent
        • EventConverters
        • EventPostProcessing
        • EventPostProcessing.BandwidthConfig
        • EventPostProcessing.DurationConfig
        • EventPostProcessing.PostProcessingConfig
        • EventPostProcessing.SidebandConfig
        • EventPostProcessing.SyllableSequenceConfig
        • EventPostProcessing.SyllableStackConfig
      • AudioAnalysisTools.EventStatistics
        • EventStatistics
        • EventStatistics.EventStatisticsClassMap
        • EventStatisticsCalculate
        • EventStatisticsConfiguration
      • AudioAnalysisTools.Indices
        • AnalyzerConfigIndexProperties
        • ConcatMode
        • GapsAndJoins
        • IIndexPropertyReferenceConfiguration
        • IndexCalculate
        • IndexCalculateConfig
        • IndexCalculateResult
        • IndexCalculateSixOnly
        • IndexDisplay
        • IndexDistributions
        • IndexDistributions.SpectralStats
        • IndexGenerationData
        • IndexMatrices
        • IndexProperties
        • IndexPropertiesCollection
        • InitialiseIndexProperties
        • RainIndices
        • RainIndices.RainStruct
        • SpectralIndexValues
        • SpectralIndexValuesForContentDescription
        • SpectralIndicesToAndFromTable
        • SpectralIndicesToAndFromTable.Arguments
        • SummaryIndexValues
      • AudioAnalysisTools.LongDurationSpectrograms
        • LdSpectrogram3D
        • LdSpectrogram3D.Arguments
        • LDSpectrogramClusters
        • LdSpectrogramConfig
        • LdSpectrogramDifference
        • LDSpectrogramDiscreteColour
        • LDSpectrogramDistance
        • LDSpectrogramRGB
        • LdSpectrogramRibbons
        • LdSpectrogramStitching
        • LdSpectrogramTStatistic
        • SpectrogramConstants
        • SpectrogramType
        • TimeOffsetSingleLayerSuperTile
        • ZoomFocusedSpectrograms
      • AudioAnalysisTools.LongDurationSpectrograms.Zooming
        • InvalidScaleException
        • SpectrogramZoomingConfig
        • ZoomCommon
        • ZoomParameters
        • ZoomTiledSpectrograms
      • AudioAnalysisTools.Scales
        • LinearScale
      • AudioAnalysisTools.StandardSpectrograms
        • AmplitudeSonogram
        • AmplitudeSpectrogram
        • BaseSonogram
        • DecibelSpectrogram
        • EnergySpectrogram
        • Image_MultiTrack
        • ImageTrack
        • SonogramConfig
        • SpectrogramAttributes
        • SpectrogramCepstral
        • SpectrogramMelScale
        • SpectrogramOctaveScale
        • SpectrogramSettings
        • SpectrogramSobelEdge
        • SpectrogramStandard
        • SpectrogramTools
        • TrackType
      • AudioAnalysisTools.TileImage
        • AbsoluteDateTilingProfile
        • DefaultSuperTile
        • DuplicateTileException
        • ImageComponent
        • ISuperTile
        • Layer
        • PanoJsTilingProfile
        • TileBias
        • Tiler
        • TilingProfile
      • AudioAnalysisTools.Tracks
        • ForwardTrackAlgorithm
        • OnebinTrackAlgorithm
        • OneframeTrackAlgorithm
        • UpwardTrackAlgorithm
      • AudioAnalysisTools.WavTools
        • AudioRecording
        • RecordingFetcher
        • TowseyWavReader
        • WavChooser
      • Be.Timvw.Framework.Collections.Generic
        • PropertyComparer<T>
      • BTR.Core.Linq
        • ExpressionExtensions
        • ExpressionVisitor
        • ExpressionVisitor<T>
      • log4net
        • LogExtensions
      • NeuralNets
        • ART
        • ART_2A
        • BinaryCluster
        • Cluster
        • FuzzyART
        • VQ
      • QutSensors.Shared
        • StatDescriptive
        • StatDescriptiveResult
      • SixLabors.ImageSharp
        • ImageSharpExtensions
      • System
        • ArrayExtensions
        • DateTimeAndTimeSpanExtensions
        • DateTimeAndTimeSpanExtensions.RoundingDirection
        • DoubleExtensions
        • DoubleSquareArrayExtensions
        • DoubleSquareArrayExtensions.MergingDirection
        • EnumerableExtensions
        • EnumExtensions
        • ExceptionsExtensions
        • ExtensionsString
        • FileInfoExtensions
        • FileInfoNameComparer
        • LoggedConsole
        • MathExtensions
        • NoConsole
        • ObjectExtensions
        • ProcessExtensions
        • ProcessExtensions.ParentProcessUtilities
        • ReflectionExtensions
        • SystemExtensions
        • TupleExtensions
      • System.Collections.Generic
        • DictionaryExtensions
      • System.Drawing
        • RectangleExtensions
      • System.IO
        • ExtensionsIO
      • System.Threading.Tasks
        • TaskExtensions
      • System.Xml.Linq
        • ExtensionsXml
      • TowseyLibrary
        • AutoAndCrossCorrelation
        • ColorCubeHelix
        • ColorCubeHelix.HslColor
        • ConfigDict
        • ConfigDictionary
        • ConfigurationExtensions
        • CsvTools
        • CubeHelix
        • DataTableTools
        • DataTools
        • DictionaryTools
        • Distribution
        • FFT
        • FFT.WindowFunc
        • FileTools
        • FunctionalTests
        • GaussianTools
        • GraphsAndCharts
        • Gratings
        • Histogram
        • ImageTools
        • Kernal
        • LLR
        • Log
        • Matrix3D
        • MatrixTools
        • NormalDist
        • Oblong
        • Oblong.OblongClassMap
        • OtsuThresholder
        • OtsuThresholder.Arguments
        • Plot
        • PolarCoordinates
        • PulseTrain
        • RandomNumber
        • RandomVariable
        • Spectrum
        • Statistics
        • StructureTensor
        • StructureTensor.RidgeTensorResult
        • StructureTensor.StructureTensorResult
        • SvdAndPca
        • TemporalMatrix
        • TernaryPlots
        • TestTools
        • TextUtilities
        • WaveletPacketDecomposition
        • WaveletPacketDecomposition.BinVector
        • WaveletTransformContinuous
        • WindowFunctions

    Class SystemExtensions

    Inheritance
    Object
    SystemExtensions
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: System
    Assembly: Acoustics.Shared.dll
    Syntax
    public static class SystemExtensions

    Properties

    | Improve this Doc View Source

    ExecutingDirectory

    Gets ExecutingDirectory.

    Declaration
    public static string ExecutingDirectory { get; }
    Property Value
    Type Description
    String

    Methods

    | Improve this Doc View Source

    AddRange<T>(IList<T>, IEnumerable<T>)

    Declaration
    public static void AddRange<T>(this IList<T> list, IEnumerable<T> values)
    Parameters
    Type Name Description
    IList<T> list
    IEnumerable<T> values
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    And<T>(Expression<Func<T, Boolean>>, Expression<Func<T, Boolean>>)

    Declaration
    public static Expression<Func<T, bool>> And<T>(this Expression<Func<T, bool>> expr1, Expression<Func<T, bool>> expr2)
    Parameters
    Type Name Description
    Expression<Func<T, Boolean>> expr1
    Expression<Func<T, Boolean>> expr2
    Returns
    Type Description
    Expression<Func<T, Boolean>>
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    BinaryDeserialize(Byte[])

    Deserialize byte array to object.

    Declaration
    public static object BinaryDeserialize(this byte[] bytes)
    Parameters
    Type Name Description
    Byte[] bytes

    The bytes.

    Returns
    Type Description
    Object

    Deserialized object.

    | Improve this Doc View Source

    BinaryDeserialize(Byte[], SerializationBinder)

    Deserialize byte array to object.

    Declaration
    public static object BinaryDeserialize(this byte[] bytes, SerializationBinder binder)
    Parameters
    Type Name Description
    Byte[] bytes

    The bytes.

    SerializationBinder binder

    The binder.

    Returns
    Type Description
    Object

    Deserialized object.

    | Improve this Doc View Source

    BinarySerialize(Object)

    Convert an object to it's binary serialized form.

    Declaration
    public static byte[] BinarySerialize(this object o)
    Parameters
    Type Name Description
    Object o

    Object to serialize.

    Returns
    Type Description
    Byte[]

    Serialized object.

    | Improve this Doc View Source

    False<T>()

    Declaration
    public static Expression<Func<T, bool>> False<T>()
    Returns
    Type Description
    Expression<Func<T, Boolean>>
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    HasValue<TKey, TValue>(Dictionary<TKey, TValue>, String)

    Check if a dictionary has a value for a key.

    Declaration
    public static bool HasValue<TKey, TValue>(this Dictionary<TKey, TValue> dictionary, string key)
    Parameters
    Type Name Description
    Dictionary<TKey, TValue> dictionary

    The dictionary.

    String key

    The dictionary key.

    Returns
    Type Description
    Boolean

    True if dictionary contains and has a value for key, otherwise false.

    Type Parameters
    Name Description
    TKey

    Type of key.

    TValue

    Type of Value.

    | Improve this Doc View Source

    IndexOf<T>(IEnumerable<T>, Predicate<T>)

    Declaration
    public static int IndexOf<T>(this IEnumerable<T> source, Predicate<T> predicate)
    Parameters
    Type Name Description
    IEnumerable<T> source
    Predicate<T> predicate
    Returns
    Type Description
    Int32
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    MaxOrDefault<TSource>(IEnumerable<TSource>)

    Declaration
    public static TSource MaxOrDefault<TSource>(this IEnumerable<TSource> source)
    Parameters
    Type Name Description
    IEnumerable<TSource> source
    Returns
    Type Description
    TSource
    Type Parameters
    Name Description
    TSource
    | Improve this Doc View Source

    MaxOrDefault<TSource>(IEnumerable<TSource>, TSource)

    Declaration
    public static TSource MaxOrDefault<TSource>(this IEnumerable<TSource> source, TSource defaultValue)
    Parameters
    Type Name Description
    IEnumerable<TSource> source
    TSource defaultValue
    Returns
    Type Description
    TSource
    Type Parameters
    Name Description
    TSource
    | Improve this Doc View Source

    MaxOrDefault<TSource, TResult>(IEnumerable<TSource>, Func<TSource, TResult>)

    Declaration
    public static TResult MaxOrDefault<TSource, TResult>(this IEnumerable<TSource> source, Func<TSource, TResult> selector)
    Parameters
    Type Name Description
    IEnumerable<TSource> source
    Func<TSource, TResult> selector
    Returns
    Type Description
    TResult
    Type Parameters
    Name Description
    TSource
    TResult
    | Improve this Doc View Source

    MaxOrDefault<TSource, TResult>(IEnumerable<TSource>, Func<TSource, TResult>, TResult)

    Declaration
    public static TResult MaxOrDefault<TSource, TResult>(this IEnumerable<TSource> source, Func<TSource, TResult> selector, TResult defaultValue)
    Parameters
    Type Name Description
    IEnumerable<TSource> source
    Func<TSource, TResult> selector
    TResult defaultValue
    Returns
    Type Description
    TResult
    Type Parameters
    Name Description
    TSource
    TResult
    | Improve this Doc View Source

    MinOrDefault<TSource>(IEnumerable<TSource>)

    Declaration
    public static TSource MinOrDefault<TSource>(this IEnumerable<TSource> source)
    Parameters
    Type Name Description
    IEnumerable<TSource> source
    Returns
    Type Description
    TSource
    Type Parameters
    Name Description
    TSource
    | Improve this Doc View Source

    MinOrDefault<TSource>(IEnumerable<TSource>, TSource)

    Declaration
    public static TSource MinOrDefault<TSource>(this IEnumerable<TSource> source, TSource defaultValue)
    Parameters
    Type Name Description
    IEnumerable<TSource> source
    TSource defaultValue
    Returns
    Type Description
    TSource
    Type Parameters
    Name Description
    TSource
    | Improve this Doc View Source

    MinOrDefault<TSource, TResult>(IEnumerable<TSource>, Func<TSource, TResult>)

    Declaration
    public static TResult MinOrDefault<TSource, TResult>(this IEnumerable<TSource> source, Func<TSource, TResult> selector)
    Parameters
    Type Name Description
    IEnumerable<TSource> source
    Func<TSource, TResult> selector
    Returns
    Type Description
    TResult
    Type Parameters
    Name Description
    TSource
    TResult
    | Improve this Doc View Source

    MinOrDefault<TSource, TResult>(IEnumerable<TSource>, Func<TSource, TResult>, TResult)

    Declaration
    public static TResult MinOrDefault<TSource, TResult>(this IEnumerable<TSource> source, Func<TSource, TResult> selector, TResult defaultValue)
    Parameters
    Type Name Description
    IEnumerable<TSource> source
    Func<TSource, TResult> selector
    TResult defaultValue
    Returns
    Type Description
    TResult
    Type Parameters
    Name Description
    TSource
    TResult
    | Improve this Doc View Source

    Or<T>(Expression<Func<T, Boolean>>, Expression<Func<T, Boolean>>)

    Declaration
    public static Expression<Func<T, bool>> Or<T>(this Expression<Func<T, bool>> expr1, Expression<Func<T, bool>> expr2)
    Parameters
    Type Name Description
    Expression<Func<T, Boolean>> expr1
    Expression<Func<T, Boolean>> expr2
    Returns
    Type Description
    Expression<Func<T, Boolean>>
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    Page<TSource>(IEnumerable<TSource>, Int32, Int32)

    Paging for LINQ.

    Declaration
    public static IEnumerable<TSource> Page<TSource>(this IEnumerable<TSource> source, int page, int pageSize)
    Parameters
    Type Name Description
    IEnumerable<TSource> source

    IEnumerable to page.

    Int32 page

    Page number (begins at 1).

    Int32 pageSize

    Number of items per page.

    Returns
    Type Description
    IEnumerable<TSource>

    Paged LINQ.

    Type Parameters
    Name Description
    TSource

    IEnumerable of 'object type' to page.

    | Improve this Doc View Source

    Page<TSource>(IQueryable<TSource>, Int32, Int32)

    Paging for LINQ to SQL.

    Declaration
    public static IQueryable<TSource> Page<TSource>(this IQueryable<TSource> source, int page, int pageSize)
    Parameters
    Type Name Description
    IQueryable<TSource> source

    IQueryable to page.

    Int32 page

    Page number (begins at 1).

    Int32 pageSize

    Number of items per page.

    Returns
    Type Description
    IQueryable<TSource>

    Paged LINQ to SQL.

    Type Parameters
    Name Description
    TSource

    IQueryable of 'object type' to page.

    | Improve this Doc View Source

    PageByIndex<T>(IQueryable<T>, Nullable<Int32>, Nullable<Int32>)

    Page IQueryable object using startIndex and number of items.

    Declaration
    public static IQueryable<T> PageByIndex<T>(this IQueryable<T> value, int? startIndex, int? length)
    Parameters
    Type Name Description
    IQueryable<T> value

    IQueryable to page.

    Nullable<Int32> startIndex

    Index of first item to return.

    Nullable<Int32> length

    number of items to return.

    Returns
    Type Description
    IQueryable<T>

    Paged IQueryable object.

    Type Parameters
    Name Description
    T

    IQueryable of 'object type' to page.

    | Improve this Doc View Source

    ToByteDisplay(Int64)

    Convert a byte count to human-readable format.

    Declaration
    public static string ToByteDisplay(this long byteCount)
    Parameters
    Type Name Description
    Int64 byteCount

    Number of bytes.

    Returns
    Type Description
    String

    Byte count in human-readable format.

    | Improve this Doc View Source

    ToDescriptionString(Enum)

    Get description for enum.

    Declaration
    public static string ToDescriptionString(this Enum value)
    Parameters
    Type Name Description
    Enum value

    The value.

    Returns
    Type Description
    String

    Description text from DescriptionAttribute.

    | Improve this Doc View Source

    ToDictionary(NameValueCollection)

    Convert NameValueCollection to a Dictionary.

    Declaration
    public static Dictionary<string, string> ToDictionary(this NameValueCollection collection)
    Parameters
    Type Name Description
    NameValueCollection collection

    The collection.

    Returns
    Type Description
    Dictionary<String, String>

    Dictionary from NameValueCollection.

    | Improve this Doc View Source

    ToSortedDictionary<TKey, TValue>(IEnumerable<KeyValuePair<TKey, TValue>>)

    Declaration
    public static SortedDictionary<TKey, TValue> ToSortedDictionary<TKey, TValue>(this IEnumerable<KeyValuePair<TKey, TValue>> l)
    Parameters
    Type Name Description
    IEnumerable<KeyValuePair<TKey, TValue>> l
    Returns
    Type Description
    SortedDictionary<TKey, TValue>
    Type Parameters
    Name Description
    TKey
    TValue
    | Improve this Doc View Source

    True<T>()

    Declaration
    public static Expression<Func<T, bool>> True<T>()
    Returns
    Type Description
    Expression<Func<T, Boolean>>
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    TryParseGuidRegex(String, out Guid)

    Converts the string representation of a Guid to its Guid equivalent. A return value indicates whether the operation succeeded.

    Declaration
    public static bool TryParseGuidRegex(this string s, out Guid value)
    Parameters
    Type Name Description
    String s

    A string containing a Guid to convert.

    Guid value

    The value.

    Returns
    Type Description
    Boolean

    true if s was converted successfully; otherwise, false.

    Exceptions
    Type Condition
    ArgumentNullException

    Thrown if is null.

    | Improve this Doc View Source

    Utf8ByteArrayToString(Byte[])

    To convert a Byte Array of Unicode values (UTF-8 encoded) to a complete String.

    Declaration
    public static string Utf8ByteArrayToString(this byte[] characters)
    Parameters
    Type Name Description
    Byte[] characters

    Unicode Byte Array to be converted to String.

    Returns
    Type Description
    String

    String converted from Unicode Byte Array.

    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • ExecutingDirectory
    • Methods
      • AddRange<T>(IList<T>, IEnumerable<T>)
      • And<T>(Expression<Func<T, Boolean>>, Expression<Func<T, Boolean>>)
      • BinaryDeserialize(Byte[])
      • BinaryDeserialize(Byte[], SerializationBinder)
      • BinarySerialize(Object)
      • False<T>()
      • HasValue<TKey, TValue>(Dictionary<TKey, TValue>, String)
      • IndexOf<T>(IEnumerable<T>, Predicate<T>)
      • MaxOrDefault<TSource>(IEnumerable<TSource>)
      • MaxOrDefault<TSource>(IEnumerable<TSource>, TSource)
      • MaxOrDefault<TSource, TResult>(IEnumerable<TSource>, Func<TSource, TResult>)
      • MaxOrDefault<TSource, TResult>(IEnumerable<TSource>, Func<TSource, TResult>, TResult)
      • MinOrDefault<TSource>(IEnumerable<TSource>)
      • MinOrDefault<TSource>(IEnumerable<TSource>, TSource)
      • MinOrDefault<TSource, TResult>(IEnumerable<TSource>, Func<TSource, TResult>)
      • MinOrDefault<TSource, TResult>(IEnumerable<TSource>, Func<TSource, TResult>, TResult)
      • Or<T>(Expression<Func<T, Boolean>>, Expression<Func<T, Boolean>>)
      • Page<TSource>(IEnumerable<TSource>, Int32, Int32)
      • Page<TSource>(IQueryable<TSource>, Int32, Int32)
      • PageByIndex<T>(IQueryable<T>, Nullable<Int32>, Nullable<Int32>)
      • ToByteDisplay(Int64)
      • ToDescriptionString(Enum)
      • ToDictionary(NameValueCollection)
      • ToSortedDictionary<TKey, TValue>(IEnumerable<KeyValuePair<TKey, TValue>>)
      • True<T>()
      • TryParseGuidRegex(String, out Guid)
      • Utf8ByteArrayToString(Byte[])
    Generated by DocFX AP docs version: 21.7.0.4-master-e26127a50d7bd7472d47288f10e61014fb981f7f-DIRTY-CI:144 Back to top