public void Deserialize_WithProperData_ShouldDeserializeToList()
        {
            var subject = new PersonalizationContainerSerializer();

            var list = subject.Deserialize(serializedData);

            Assert.AreEqual(2, list.Count());
            Assert.AreEqual(new Guid("c7cc5de0-6729-4877-9037-668f4408e38f"), list.First().ContainerID);
        }
コード例 #2
0
 public PersonalizationContainerCollector(IContentMap contentMap, PersonalizationContainerSerializer serializer)
 {
     _contentMap = contentMap;
     _serializer = serializer;
 }
コード例 #3
0
 public PersonalizationContainerCollector(IContentMap contentMap, PersonalizationContainerSerializer serializer)
 {
     _contentMap = contentMap;
     _serializer = serializer;
 }