public string Generate( VoteReport report )
		{
			var stylesheet = factory.Get( Resources.Report );
			var data = serializer.Save( report );
			var source = factory.Get( data );
			var result = transformer( new DataTransformParameter( stylesheet, source ) );
			return result;
		}
예제 #2
0
 private void Awake()
 {
     if (Instance == null)
     {
         Instance = this;
     }
     else if (Instance != this)
     {
         Destroy(gameObject);
     }
 }
		public void Save( VoteReport report )
		{
			storage.Save( report );
		}