Table of Contents

Class ProfileIniFile

Namespace
Amazon.Runtime.Internal.Util
Assembly
AWSSDK.Core.dll

Subclass of IniFile that allows INI sections to be read with the profile keyword in front of the section name.

public class ProfileIniFile : IniFile
Inheritance
ProfileIniFile
Inherited Members

Constructors

ProfileIniFile(string, bool)

public ProfileIniFile(string filePath, bool profileMarkerRequired)

Parameters

filePath string
profileMarkerRequired bool

Properties

ProfileMarkerRequired

public bool ProfileMarkerRequired { get; set; }

Property Value

bool

Methods

EditSection(string, bool, SortedDictionary<string, string>)

public void EditSection(string sectionName, bool isSsoSession, SortedDictionary<string, string> properties)

Parameters

sectionName string
isSsoSession bool
properties SortedDictionary<string, string>

EditSection(string, SortedDictionary<string, string>)

public override void EditSection(string sectionName, SortedDictionary<string, string> properties)

Parameters

sectionName string
properties SortedDictionary<string, string>

ListSectionNames()

public override HashSet<string> ListSectionNames()

Returns

HashSet<string>

TryGetSection(string, bool, out Dictionary<string, string>)

public bool TryGetSection(string sectionName, bool isSsoSession, out Dictionary<string, string> properties)

Parameters

sectionName string
isSsoSession bool
properties Dictionary<string, string>

Returns

bool

TryGetSection(string, out Dictionary<string, string>)

public override bool TryGetSection(string sectionName, out Dictionary<string, string> properties)

Parameters

sectionName string
properties Dictionary<string, string>

Returns

bool