protected void InitStore(IsolatedStorageScope scope, Type domainEvidenceType, Type assemblyEvidenceType)
{
VerifyScope(scope);
Scope = scope;
object identity;
string hash;
Helper.GetDefaultIdentityAndHash(out identity, out hash, SeparatorInternal);
if (Helper.IsApplication(scope))
{
_applicationIdentity = identity;
}
else
{
if (Helper.IsDomain(scope))
{
_domainIdentity = identity;
hash = $"{hash}{SeparatorExternal}{hash}";
}
_assemblyIdentity = identity;
}
IdentityHash = hash;
}