本文整理汇总了C#中PredecessorList类的典型用法代码示例。如果您正苦于以下问题:C# PredecessorList类的具体用法?C# PredecessorList怎么用?C# PredecessorList使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
PredecessorList类属于命名空间,在下文中一共展示了PredecessorList类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: SessionEvaluationCompleted
// Fields
// Results
// Business constructor
public SessionEvaluationCompleted(
ConferenceSessionSurvey sessionSurvey
,SessionEvaluation sessionEvaluation
,IEnumerable<SessionEvaluationRatingAnswer> ratingAnswers
,IEnumerable<SessionEvaluationEssayAnswer> essayAnswers
)
{
InitializeResults();
_sessionSurvey = new PredecessorObj<ConferenceSessionSurvey>(this, GetRoleSessionSurvey(), sessionSurvey);
_sessionEvaluation = new PredecessorObj<SessionEvaluation>(this, GetRoleSessionEvaluation(), sessionEvaluation);
_ratingAnswers = new PredecessorList<SessionEvaluationRatingAnswer>(this, GetRoleRatingAnswers(), ratingAnswers);
_essayAnswers = new PredecessorList<SessionEvaluationEssayAnswer>(this, GetRoleEssayAnswers(), essayAnswers);
}
示例2: Commitment
// Hydration constructor
private Commitment(FactMemento memento)
{
InitializeResults();
_pull = new PredecessorObj<Pull>(this, RolePull, memento);
_cakeDetail = new PredecessorList<CakeDetail>(this, RoleCakeDetail, memento);
_prior = new PredecessorList<Commitment>(this, RolePrior, memento);
}
示例3: ContactInformation
// Hydration constructor
private ContactInformation(FactMemento memento)
{
InitializeResults();
_order = new PredecessorObj<Order>(this, RoleOrder, memento);
_prior = new PredecessorList<ContactInformation>(this, RolePrior, memento);
}
示例4: DeliveryDetail
// Business constructor
public DeliveryDetail(
Order order
,City city
,IEnumerable<DeliveryDetail> prior
,string streetAddress
,DateTime expectedDeliveryDate
,string deliveryInstructions
)
{
InitializeResults();
_order = new PredecessorObj<Order>(this, RoleOrder, order);
_city = new PredecessorObj<City>(this, RoleCity, city);
_prior = new PredecessorList<DeliveryDetail>(this, RolePrior, prior);
_streetAddress = streetAddress;
_expectedDeliveryDate = expectedDeliveryDate;
_deliveryInstructions = deliveryInstructions;
}
示例5: CakeDetail
// Hydration constructor
private CakeDetail(FactMemento memento)
{
InitializeResults();
_order = new PredecessorObj<Order>(this, RoleOrder, memento);
_size = new PredecessorObj<CakeSize>(this, RoleSize, memento);
_cakeFlavor = new PredecessorObj<CakeFlavor>(this, RoleCakeFlavor, memento);
_frostingFlavor = new PredecessorObj<FrostingFlavor>(this, RoleFrostingFlavor, memento);
_mainColor = new PredecessorObj<FrostingColor>(this, RoleMainColor, memento);
_decorationColor = new PredecessorObj<FrostingColor>(this, RoleDecorationColor, memento);
_prior = new PredecessorList<CakeDetail>(this, RolePrior, memento);
}
示例6: Survey
// Fields
// Results
// Business constructor
public Survey(
IEnumerable<RatingQuestion> ratingQuestions
,IEnumerable<EssayQuestion> essayQuestions
)
{
InitializeResults();
_ratingQuestions = new PredecessorList<RatingQuestion>(this, GetRoleRatingQuestions(), ratingQuestions);
_essayQuestions = new PredecessorList<EssayQuestion>(this, GetRoleEssayQuestions(), essayQuestions);
}
示例7: DisableToastNotification
// Fields
// Results
// Business constructor
public DisableToastNotification(
IEnumerable<EnableToastNotification> enable
)
{
InitializeResults();
_enable = new PredecessorList<EnableToastNotification>(this, RoleEnable, enable);
}
示例8: SessionPlace
// Fields
// Results
// Business constructor
public SessionPlace(
Session session
,Place place
,IEnumerable<SessionPlace> prior
)
{
InitializeResults();
_session = new PredecessorObj<Session>(this, GetRoleSession(), session);
_place = new PredecessorObj<Place>(this, GetRolePlace(), place);
_prior = new PredecessorList<SessionPlace>(this, GetRolePrior(), prior);
}
示例9: Session__description
// Fields
// Results
// Business constructor
public Session__description(
Session session
,IEnumerable<Session__description> prior
,IEnumerable<DocumentSegment> value
)
{
InitializeResults();
_session = new PredecessorObj<Session>(this, GetRoleSession(), session);
_prior = new PredecessorList<Session__description>(this, GetRolePrior(), prior);
_value = new PredecessorList<DocumentSegment>(this, GetRoleValue(), value);
}
示例10: SessionEvaluationRatingAnswer
// Results
// Business constructor
public SessionEvaluationRatingAnswer(
SessionEvaluationRating rating
,IEnumerable<SessionEvaluationRatingAnswer> prior
,int value
)
{
InitializeResults();
_rating = new PredecessorObj<SessionEvaluationRating>(this, GetRoleRating(), rating);
_prior = new PredecessorList<SessionEvaluationRatingAnswer>(this, GetRolePrior(), prior);
_value = value;
}
示例11: SessionEvaluationEssayAnswer
// Hydration constructor
private SessionEvaluationEssayAnswer(FactMemento memento)
{
InitializeResults();
_essay = new PredecessorObj<SessionEvaluationEssay>(this, GetRoleEssay(), memento, SessionEvaluationEssay.GetUnloadedInstance, SessionEvaluationEssay.GetNullInstance);
_prior = new PredecessorList<SessionEvaluationEssayAnswer>(this, GetRolePrior(), memento, SessionEvaluationEssayAnswer.GetUnloadedInstance, SessionEvaluationEssayAnswer.GetNullInstance);
}
示例12: Speaker__imageUrl
// Results
// Business constructor
public Speaker__imageUrl(
Speaker speaker
,IEnumerable<Speaker__imageUrl> prior
,string value
)
{
InitializeResults();
_speaker = new PredecessorObj<Speaker>(this, GetRoleSpeaker(), speaker);
_prior = new PredecessorList<Speaker__imageUrl>(this, GetRolePrior(), prior);
_value = value;
}
示例13: Session__level
// Fields
// Results
// Business constructor
public Session__level(
Session session
,IEnumerable<Session__level> prior
,Level value
)
{
InitializeResults();
_session = new PredecessorObj<Session>(this, GetRoleSession(), session);
_prior = new PredecessorList<Session__level>(this, GetRolePrior(), prior);
_value = new PredecessorObj<Level>(this, GetRoleValue(), value);
}
示例14: Session__name
// Results
// Business constructor
public Session__name(
Session session
,IEnumerable<Session__name> prior
,string value
)
{
InitializeResults();
_session = new PredecessorObj<Session>(this, GetRoleSession(), session);
_prior = new PredecessorList<Session__name>(this, GetRolePrior(), prior);
_value = value;
}
示例15: Speaker__bio
// Fields
// Results
// Business constructor
public Speaker__bio(
Speaker speaker
,IEnumerable<Speaker__bio> prior
,IEnumerable<DocumentSegment> value
)
{
InitializeResults();
_speaker = new PredecessorObj<Speaker>(this, GetRoleSpeaker(), speaker);
_prior = new PredecessorList<Speaker__bio>(this, GetRolePrior(), prior);
_value = new PredecessorList<DocumentSegment>(this, GetRoleValue(), value);
}