예제 #1
0
            public CorrespondenceFact CreateFact(FactMemento memento)
            {
                CloudCentralThought newFact = new CloudCentralThought(memento);

                // Create a memory stream from the memento data.
                using (MemoryStream data = new MemoryStream(memento.Data))
                {
                    using (BinaryReader output = new BinaryReader(data))
                    {
                    }
                }

                return(newFact);
            }
예제 #2
0
 public void WriteFactData(CorrespondenceFact obj, BinaryWriter output)
 {
     CloudCentralThought fact = (CloudCentralThought)obj;
 }
			public CorrespondenceFact CreateFact(FactMemento memento)
			{
				CloudCentralThought newFact = new CloudCentralThought(memento);

				// Create a memory stream from the memento data.
				using (MemoryStream data = new MemoryStream(memento.Data))
				{
					using (BinaryReader output = new BinaryReader(data))
					{
					}
				}

				return newFact;
			}