コード例 #1
0
        internal static Hash128 CreateWindowAndStageIdentifier(string windowGUID, Stage stage)
        {
            Hash128 hash = stage.GetHashForStateStorage();

            hash.Append(windowGUID);
            hash.Append(stage.GetType().FullName);
            return(hash);
        }
コード例 #2
0
        internal static Hash128 CreateWindowAndStageIdentifier(string windowGUID, Stage stage)
        {
            Hash128 hash          = stage.GetHashForStateStorage();
            Hash128 windowHash    = Hash128.Compute(windowGUID);
            Hash128 stageTypeHash = Hash128.Compute(stage.GetType().FullName);

            HashUtilities.AppendHash(ref windowHash, ref hash);
            HashUtilities.AppendHash(ref stageTypeHash, ref hash);
            return(hash);
        }