Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ IsolatedStorageFile()

System.IO.IsolatedStorage.IsolatedStorageFile.IsolatedStorageFile ( IsolatedStorageScope scope)
inlinepackage

Definition at line 76 of file IsolatedStorageFile.cs.

77 {
78 InitStore(scope, null, null);
79 StringBuilder stringBuilder = new StringBuilder(Helper.GetRootDirectory(scope));
80 stringBuilder.Append(SeparatorExternal);
81 stringBuilder.Append(base.IdentityHash);
82 stringBuilder.Append(SeparatorExternal);
83 if (Helper.IsApplication(scope))
84 {
85 stringBuilder.Append("AppFiles");
86 }
87 else if (Helper.IsDomain(scope))
88 {
89 stringBuilder.Append("Files");
90 }
91 else
92 {
93 stringBuilder.Append("AssemFiles");
94 }
95 stringBuilder.Append(SeparatorExternal);
96 _rootDirectory = stringBuilder.ToString();
97 Helper.CreateDirectory(_rootDirectory, scope);
98 }
void InitStore(IsolatedStorageScope scope, Type appEvidenceType)
override string ToString()
StringBuilder Append(char value, int repeatCount)

References System.IO.IsolatedStorage.IsolatedStorageFile._rootDirectory, System.Text.StringBuilder.Append(), System.IO.IsolatedStorage.Helper.CreateDirectory(), System.IO.IsolatedStorage.Helper.GetRootDirectory(), System.IO.IsolatedStorage.IsolatedStorage.InitStore(), System.IO.IsolatedStorage.Helper.IsApplication(), System.IO.IsolatedStorage.Helper.IsDomain(), System.IO.IsolatedStorage.IsolatedStorage.SeparatorExternal, and System.Text.StringBuilder.ToString().

Referenced by System.IO.IsolatedStorage.IsolatedStorageFile.GetStore().