コード例 #1
0
 public StorySettings(StoryProject.storyRow theStoryRow, StoryProject projFile, TeamMemberData loggedOnMember)
 {
     StoryName    = theStoryRow.name;
     StoryGuid    = theStoryRow.guid;
     ProjStage    = new StoryStageLogic(theStoryRow.stage, loggedOnMember);
     CraftingInfo = new CraftingInfoData(theStoryRow, projFile, loggedOnMember);
 }
コード例 #2
0
 public StoryData(NewDataSet.storyRow theStoryRow, NewDataSet projFile,
                  bool bHasIndependentConsultant)
 {
     Name           = theStoryRow.name;
     guid           = theStoryRow.guid;
     StageTimeStamp = (theStoryRow.IsstageDateTimeStampNull()) ? DateTime.Now : theStoryRow.stageDateTimeStamp;
     ProjStage      = new StoryStageLogic(theStoryRow.stage, bHasIndependentConsultant);
     CraftingInfo   = new CraftingInfoData(theStoryRow);
     Verses         = new VersesData(theStoryRow, projFile);
 }
コード例 #3
0
        public StoryData(StoryData rhs)
        {
            Name = rhs.Name;

            // the guid shouldn't be replicated
            guid = Guid.NewGuid().ToString();              // rhs.guid;

            StageTimeStamp = rhs.StageTimeStamp;
            ProjStage      = new StoryStageLogic(rhs.ProjStage);
            CraftingInfo   = new CraftingInfoData(rhs.CraftingInfo);
            Verses         = new VersesData(rhs.Verses);
        }
コード例 #4
0
 public StoryData(string strStoryName, string strCrafterMemberGuid,
                  string strLoggedOnMemberGuid, bool bIsBiblicalStory,
                  ProjectSettings projSettings)
 {
     Name           = strStoryName;
     guid           = Guid.NewGuid().ToString();
     StageTimeStamp = DateTime.Now;
     ProjStage      = new StoryStageLogic(projSettings);
     CraftingInfo   = new CraftingInfoData(strCrafterMemberGuid, strLoggedOnMemberGuid, bIsBiblicalStory);
     Verses         = new VersesData();
     Verses.CreateFirstVerse();
 }
コード例 #5
0
 public CraftingInfoData(CraftingInfoData rhs)
 {
     StoryCrafterMemberID       = rhs.StoryCrafterMemberID;
     ProjectFacilitatorMemberID = rhs.ProjectFacilitatorMemberID;
     StoryPurpose           = rhs.StoryPurpose;
     ResourcesUsed          = rhs.ResourcesUsed;
     BackTranslatorMemberID = rhs.BackTranslatorMemberID;
     IsBiblicalStory        = rhs.IsBiblicalStory;
     foreach (string strUnsGuid in rhs.Testors)
     {
         Testors.Add(strUnsGuid);
     }
 }