本文整理汇总了C#中FpmlSerializedCSharp.XsdTypeToken类的典型用法代码示例。如果您正苦于以下问题:C# XsdTypeToken类的具体用法?C# XsdTypeToken怎么用?C# XsdTypeToken使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
XsdTypeToken类属于FpmlSerializedCSharp命名空间,在下文中一共展示了XsdTypeToken类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ClearQueue
public ClearQueue(XmlNode xmlNode)
: base(xmlNode)
{
XmlNode actionTypeNode = xmlNode.SelectSingleNode("actionType");
if (actionTypeNode != null)
{
if (actionTypeNode.Attributes["href"] != null || actionTypeNode.Attributes["id"] != null)
{
if (actionTypeNode.Attributes["id"] != null)
{
actionTypeIDRef_ = actionTypeNode.Attributes["id"].Value;
XsdTypeToken ob = new XsdTypeToken(actionTypeNode);
IDManager.SetID(actionTypeIDRef_, ob);
}
else if (actionTypeNode.Attributes["href"] != null)
{
actionTypeIDRef_ = actionTypeNode.Attributes["href"].Value;
}
else
{
actionType_ = new XsdTypeToken(actionTypeNode);
}
}
else
{
actionType_ = new XsdTypeToken(actionTypeNode);
}
}
}
示例2: Excel_hifive_subtype
public Excel_hifive_subtype(XmlNode xmlNode)
: base(xmlNode)
{
XmlNode excel_typeNode = xmlNode.SelectSingleNode("excel_type");
if (excel_typeNode != null)
{
if (excel_typeNode.Attributes["href"] != null || excel_typeNode.Attributes["id"] != null)
{
if (excel_typeNode.Attributes["id"] != null)
{
excel_typeIDRef_ = excel_typeNode.Attributes["id"].Value;
XsdTypeToken ob = new XsdTypeToken(excel_typeNode);
IDManager.SetID(excel_typeIDRef_, ob);
}
else if (excel_typeNode.Attributes["href"] != null)
{
excel_typeIDRef_ = excel_typeNode.Attributes["href"].Value;
}
else
{
excel_type_ = new XsdTypeToken(excel_typeNode);
}
}
else
{
excel_type_ = new XsdTypeToken(excel_typeNode);
}
}
XmlNode excel_hifive_stepDown_kiNode = xmlNode.SelectSingleNode("excel_hifive_stepDown_ki");
if (excel_hifive_stepDown_kiNode != null)
{
if (excel_hifive_stepDown_kiNode.Attributes["href"] != null || excel_hifive_stepDown_kiNode.Attributes["id"] != null)
{
if (excel_hifive_stepDown_kiNode.Attributes["id"] != null)
{
excel_hifive_stepDown_kiIDRef_ = excel_hifive_stepDown_kiNode.Attributes["id"].Value;
Excel_hifive_stepDown_ki ob = new Excel_hifive_stepDown_ki(excel_hifive_stepDown_kiNode);
IDManager.SetID(excel_hifive_stepDown_kiIDRef_, ob);
}
else if (excel_hifive_stepDown_kiNode.Attributes["href"] != null)
{
excel_hifive_stepDown_kiIDRef_ = excel_hifive_stepDown_kiNode.Attributes["href"].Value;
}
else
{
excel_hifive_stepDown_ki_ = new Excel_hifive_stepDown_ki(excel_hifive_stepDown_kiNode);
}
}
else
{
excel_hifive_stepDown_ki_ = new Excel_hifive_stepDown_ki(excel_hifive_stepDown_kiNode);
}
}
}
示例3: General_scheduleDetail_fixedAmount
public General_scheduleDetail_fixedAmount(XmlNode xmlNode)
: base(xmlNode)
{
XmlNode fixedAmountNode = xmlNode.SelectSingleNode("fixedAmount");
if (fixedAmountNode != null)
{
if (fixedAmountNode.Attributes["href"] != null || fixedAmountNode.Attributes["id"] != null)
{
if (fixedAmountNode.Attributes["id"] != null)
{
fixedAmountIDRef_ = fixedAmountNode.Attributes["id"].Value;
XsdTypeToken ob = new XsdTypeToken(fixedAmountNode);
IDManager.SetID(fixedAmountIDRef_, ob);
}
else if (fixedAmountNode.Attributes["href"] != null)
{
fixedAmountIDRef_ = fixedAmountNode.Attributes["href"].Value;
}
else
{
fixedAmount_ = new XsdTypeToken(fixedAmountNode);
}
}
else
{
fixedAmount_ = new XsdTypeToken(fixedAmountNode);
}
}
}
开发者ID:minikie,项目名称:OTCDerivativesCalculatorModule,代码行数:32,代码来源:General_scheduleDetail_fixedAmount.cs
示例4: PreDefinedVariableInfo
public PreDefinedVariableInfo(XmlNode xmlNode)
: base(xmlNode)
{
XmlNode refInstanceNameNode = xmlNode.SelectSingleNode("refInstanceName");
if (refInstanceNameNode != null)
{
if (refInstanceNameNode.Attributes["href"] != null || refInstanceNameNode.Attributes["id"] != null)
{
if (refInstanceNameNode.Attributes["id"] != null)
{
refInstanceNameIDRef_ = refInstanceNameNode.Attributes["id"].Value;
XsdTypeToken ob = new XsdTypeToken(refInstanceNameNode);
IDManager.SetID(refInstanceNameIDRef_, ob);
}
else if (refInstanceNameNode.Attributes["href"] != null)
{
refInstanceNameIDRef_ = refInstanceNameNode.Attributes["href"].Value;
}
else
{
refInstanceName_ = new XsdTypeToken(refInstanceNameNode);
}
}
else
{
refInstanceName_ = new XsdTypeToken(refInstanceNameNode);
}
}
XmlNode fixingInformationNode = xmlNode.SelectSingleNode("fixingInformation");
if (fixingInformationNode != null)
{
if (fixingInformationNode.Attributes["href"] != null || fixingInformationNode.Attributes["id"] != null)
{
if (fixingInformationNode.Attributes["id"] != null)
{
fixingInformationIDRef_ = fixingInformationNode.Attributes["id"].Value;
FixingInformation ob = new FixingInformation(fixingInformationNode);
IDManager.SetID(fixingInformationIDRef_, ob);
}
else if (fixingInformationNode.Attributes["href"] != null)
{
fixingInformationIDRef_ = fixingInformationNode.Attributes["href"].Value;
}
else
{
fixingInformation_ = new FixingInformation(fixingInformationNode);
}
}
else
{
fixingInformation_ = new FixingInformation(fixingInformationNode);
}
}
}
示例5: ReferenceEntity
public ReferenceEntity(XmlNode xmlNode)
: base(xmlNode)
{
XmlNode entityNameNode = xmlNode.SelectSingleNode("entityName");
if (entityNameNode != null)
{
if (entityNameNode.Attributes["href"] != null || entityNameNode.Attributes["id"] != null)
{
if (entityNameNode.Attributes["id"] != null)
{
entityNameIDRef_ = entityNameNode.Attributes["id"].Value;
XsdTypeToken ob = new XsdTypeToken(entityNameNode);
IDManager.SetID(entityNameIDRef_, ob);
}
else if (entityNameNode.Attributes["href"] != null)
{
entityNameIDRef_ = entityNameNode.Attributes["href"].Value;
}
else
{
entityName_ = new XsdTypeToken(entityNameNode);
}
}
else
{
entityName_ = new XsdTypeToken(entityNameNode);
}
}
XmlNode entityIdNode = xmlNode.SelectSingleNode("entityId");
if (entityIdNode != null)
{
if (entityIdNode.Attributes["href"] != null || entityIdNode.Attributes["id"] != null)
{
if (entityIdNode.Attributes["id"] != null)
{
entityIdIDRef_ = entityIdNode.Attributes["id"].Value;
XsdTypeToken ob = new XsdTypeToken(entityIdNode);
IDManager.SetID(entityIdIDRef_, ob);
}
else if (entityIdNode.Attributes["href"] != null)
{
entityIdIDRef_ = entityIdNode.Attributes["href"].Value;
}
else
{
entityId_ = new XsdTypeToken(entityIdNode);
}
}
else
{
entityId_ = new XsdTypeToken(entityIdNode);
}
}
}
示例6: PricingParameter
public PricingParameter(XmlNode xmlNode)
: base(xmlNode)
{
XmlNode typeNode = xmlNode.SelectSingleNode("type");
if (typeNode != null)
{
if (typeNode.Attributes["href"] != null || typeNode.Attributes["id"] != null)
{
if (typeNode.Attributes["id"] != null)
{
typeIDRef_ = typeNode.Attributes["id"].Value;
XsdTypeToken ob = new XsdTypeToken(typeNode);
IDManager.SetID(typeIDRef_, ob);
}
else if (typeNode.Attributes["href"] != null)
{
typeIDRef_ = typeNode.Attributes["href"].Value;
}
else
{
type_ = new XsdTypeToken(typeNode);
}
}
else
{
type_ = new XsdTypeToken(typeNode);
}
}
XmlNode methodNode = xmlNode.SelectSingleNode("method");
if (methodNode != null)
{
if (methodNode.Attributes["href"] != null || methodNode.Attributes["id"] != null)
{
if (methodNode.Attributes["id"] != null)
{
methodIDRef_ = methodNode.Attributes["id"].Value;
Method ob = new Method(methodNode);
IDManager.SetID(methodIDRef_, ob);
}
else if (methodNode.Attributes["href"] != null)
{
methodIDRef_ = methodNode.Attributes["href"].Value;
}
else
{
method_ = new Method(methodNode);
}
}
else
{
method_ = new Method(methodNode);
}
}
}
示例7: Variable
public Variable(XmlNode xmlNode)
{
XmlNode symbolNameNode = xmlNode.SelectSingleNode("symbolName");
if (symbolNameNode != null)
{
if (symbolNameNode.Attributes["href"] != null || symbolNameNode.Attributes["id"] != null)
{
if (symbolNameNode.Attributes["id"] != null)
{
symbolNameIDRef_ = symbolNameNode.Attributes["id"].Value;
XsdTypeToken ob = new XsdTypeToken(symbolNameNode);
IDManager.SetID(symbolNameIDRef_, ob);
}
else if (symbolNameNode.Attributes["href"] != null)
{
symbolNameIDRef_ = symbolNameNode.Attributes["href"].Value;
}
else
{
symbolName_ = new XsdTypeToken(symbolNameNode);
}
}
else
{
symbolName_ = new XsdTypeToken(symbolNameNode);
}
}
}
示例8: InterestRateIndex
public InterestRateIndex(XmlNode xmlNode)
: base(xmlNode)
{
XmlNode tenorNode = xmlNode.SelectSingleNode("tenor");
if (tenorNode != null)
{
if (tenorNode.Attributes["href"] != null || tenorNode.Attributes["id"] != null)
{
if (tenorNode.Attributes["id"] != null)
{
tenorIDRef_ = tenorNode.Attributes["id"].Value;
XsdTypeToken ob = new XsdTypeToken(tenorNode);
IDManager.SetID(tenorIDRef_, ob);
}
else if (tenorNode.Attributes["href"] != null)
{
tenorIDRef_ = tenorNode.Attributes["href"].Value;
}
else
{
tenor_ = new XsdTypeToken(tenorNode);
}
}
else
{
tenor_ = new XsdTypeToken(tenorNode);
}
}
}
示例9: General_TerminationEventDetail_target
public General_TerminationEventDetail_target(XmlNode xmlNode)
: base(xmlNode)
{
XmlNode targetNode = xmlNode.SelectSingleNode("target");
if (targetNode != null)
{
if (targetNode.Attributes["href"] != null || targetNode.Attributes["id"] != null)
{
if (targetNode.Attributes["id"] != null)
{
targetIDRef_ = targetNode.Attributes["id"].Value;
XsdTypeToken ob = new XsdTypeToken(targetNode);
IDManager.SetID(targetIDRef_, ob);
}
else if (targetNode.Attributes["href"] != null)
{
targetIDRef_ = targetNode.Attributes["href"].Value;
}
else
{
target_ = new XsdTypeToken(targetNode);
}
}
else
{
target_ = new XsdTypeToken(targetNode);
}
}
}
开发者ID:minikie,项目名称:OTCDerivativesCalculatorModule,代码行数:32,代码来源:General_TerminationEventDetail_target.cs
示例10: ChoiceReferenceCal
public ChoiceReferenceCal(XmlNode xmlNode)
: base(xmlNode)
{
XmlNode selectedUnderNameNode = xmlNode.SelectSingleNode("selectedUnderName");
if (selectedUnderNameNode != null)
{
if (selectedUnderNameNode.Attributes["href"] != null || selectedUnderNameNode.Attributes["id"] != null)
{
if (selectedUnderNameNode.Attributes["id"] != null)
{
selectedUnderNameIDRef_ = selectedUnderNameNode.Attributes["id"].Value;
XsdTypeToken ob = new XsdTypeToken(selectedUnderNameNode);
IDManager.SetID(selectedUnderNameIDRef_, ob);
}
else if (selectedUnderNameNode.Attributes["href"] != null)
{
selectedUnderNameIDRef_ = selectedUnderNameNode.Attributes["href"].Value;
}
else
{
selectedUnderName_ = new XsdTypeToken(selectedUnderNameNode);
}
}
else
{
selectedUnderName_ = new XsdTypeToken(selectedUnderNameNode);
}
}
XmlNode fixingDateInfoNode = xmlNode.SelectSingleNode("fixingDateInfo");
if (fixingDateInfoNode != null)
{
if (fixingDateInfoNode.Attributes["href"] != null || fixingDateInfoNode.Attributes["id"] != null)
{
if (fixingDateInfoNode.Attributes["id"] != null)
{
fixingDateInfoIDRef_ = fixingDateInfoNode.Attributes["id"].Value;
FixingDateInfo ob = new FixingDateInfo(fixingDateInfoNode);
IDManager.SetID(fixingDateInfoIDRef_, ob);
}
else if (fixingDateInfoNode.Attributes["href"] != null)
{
fixingDateInfoIDRef_ = fixingDateInfoNode.Attributes["href"].Value;
}
else
{
fixingDateInfo_ = new FixingDateInfo(fixingDateInfoNode);
}
}
else
{
fixingDateInfo_ = new FixingDateInfo(fixingDateInfoNode);
}
}
}
示例11: PayoffInfoAnalytic
public PayoffInfoAnalytic(XmlNode xmlNode)
: base(xmlNode)
{
XmlNode typeNode = xmlNode.SelectSingleNode("type");
if (typeNode != null)
{
if (typeNode.Attributes["href"] != null || typeNode.Attributes["id"] != null)
{
if (typeNode.Attributes["id"] != null)
{
typeIDRef_ = typeNode.Attributes["id"].Value;
XsdTypeToken ob = new XsdTypeToken(typeNode);
IDManager.SetID(typeIDRef_, ob);
}
else if (typeNode.Attributes["href"] != null)
{
typeIDRef_ = typeNode.Attributes["href"].Value;
}
else
{
type_ = new XsdTypeToken(typeNode);
}
}
else
{
type_ = new XsdTypeToken(typeNode);
}
}
XmlNode standardPayoff_ANode = xmlNode.SelectSingleNode("standardPayoff_A");
if (standardPayoff_ANode != null)
{
if (standardPayoff_ANode.Attributes["href"] != null || standardPayoff_ANode.Attributes["id"] != null)
{
if (standardPayoff_ANode.Attributes["id"] != null)
{
standardPayoff_AIDRef_ = standardPayoff_ANode.Attributes["id"].Value;
StandardPayoff_A ob = new StandardPayoff_A(standardPayoff_ANode);
IDManager.SetID(standardPayoff_AIDRef_, ob);
}
else if (standardPayoff_ANode.Attributes["href"] != null)
{
standardPayoff_AIDRef_ = standardPayoff_ANode.Attributes["href"].Value;
}
else
{
standardPayoff_A_ = new StandardPayoff_A(standardPayoff_ANode);
}
}
else
{
standardPayoff_A_ = new StandardPayoff_A(standardPayoff_ANode);
}
}
}
示例12: CouponPart
public CouponPart(XmlNode xmlNode)
: base(xmlNode)
{
XmlNode payRecieveNode = xmlNode.SelectSingleNode("payRecieve");
if (payRecieveNode != null)
{
if (payRecieveNode.Attributes["href"] != null || payRecieveNode.Attributes["id"] != null)
{
if (payRecieveNode.Attributes["id"] != null)
{
payRecieveIDRef_ = payRecieveNode.Attributes["id"].Value;
XsdTypeToken ob = new XsdTypeToken(payRecieveNode);
IDManager.SetID(payRecieveIDRef_, ob);
}
else if (payRecieveNode.Attributes["href"] != null)
{
payRecieveIDRef_ = payRecieveNode.Attributes["href"].Value;
}
else
{
payRecieve_ = new XsdTypeToken(payRecieveNode);
}
}
else
{
payRecieve_ = new XsdTypeToken(payRecieveNode);
}
}
}
示例13: Excel_dualBarrierEventCal
public Excel_dualBarrierEventCal(XmlNode xmlNode)
: base(xmlNode)
{
XmlNode lowerRngNode = xmlNode.SelectSingleNode("lowerRng");
if (lowerRngNode != null)
{
if (lowerRngNode.Attributes["href"] != null || lowerRngNode.Attributes["id"] != null)
{
if (lowerRngNode.Attributes["id"] != null)
{
lowerRngIDRef_ = lowerRngNode.Attributes["id"].Value;
XsdTypeToken ob = new XsdTypeToken(lowerRngNode);
IDManager.SetID(lowerRngIDRef_, ob);
}
else if (lowerRngNode.Attributes["href"] != null)
{
lowerRngIDRef_ = lowerRngNode.Attributes["href"].Value;
}
else
{
lowerRng_ = new XsdTypeToken(lowerRngNode);
}
}
else
{
lowerRng_ = new XsdTypeToken(lowerRngNode);
}
}
XmlNode upperRngNode = xmlNode.SelectSingleNode("upperRng");
if (upperRngNode != null)
{
if (upperRngNode.Attributes["href"] != null || upperRngNode.Attributes["id"] != null)
{
if (upperRngNode.Attributes["id"] != null)
{
upperRngIDRef_ = upperRngNode.Attributes["id"].Value;
XsdTypeToken ob = new XsdTypeToken(upperRngNode);
IDManager.SetID(upperRngIDRef_, ob);
}
else if (upperRngNode.Attributes["href"] != null)
{
upperRngIDRef_ = upperRngNode.Attributes["href"].Value;
}
else
{
upperRng_ = new XsdTypeToken(upperRngNode);
}
}
else
{
upperRng_ = new XsdTypeToken(upperRngNode);
}
}
}
示例14: CashFlowInfoResult
public CashFlowInfoResult(XmlNode xmlNode)
: base(xmlNode)
{
XmlNode typeNode = xmlNode.SelectSingleNode("type");
if (typeNode != null)
{
if (typeNode.Attributes["href"] != null || typeNode.Attributes["id"] != null)
{
if (typeNode.Attributes["id"] != null)
{
typeIDRef_ = typeNode.Attributes["id"].Value;
XsdTypeToken ob = new XsdTypeToken(typeNode);
IDManager.SetID(typeIDRef_, ob);
}
else if (typeNode.Attributes["href"] != null)
{
typeIDRef_ = typeNode.Attributes["href"].Value;
}
else
{
type_ = new XsdTypeToken(typeNode);
}
}
else
{
type_ = new XsdTypeToken(typeNode);
}
}
XmlNode simpleCashFlowResultNode = xmlNode.SelectSingleNode("simpleCashFlowResult");
if (simpleCashFlowResultNode != null)
{
if (simpleCashFlowResultNode.Attributes["href"] != null || simpleCashFlowResultNode.Attributes["id"] != null)
{
if (simpleCashFlowResultNode.Attributes["id"] != null)
{
simpleCashFlowResultIDRef_ = simpleCashFlowResultNode.Attributes["id"].Value;
SimpleCashFlowResult ob = new SimpleCashFlowResult(simpleCashFlowResultNode);
IDManager.SetID(simpleCashFlowResultIDRef_, ob);
}
else if (simpleCashFlowResultNode.Attributes["href"] != null)
{
simpleCashFlowResultIDRef_ = simpleCashFlowResultNode.Attributes["href"].Value;
}
else
{
simpleCashFlowResult_ = new SimpleCashFlowResult(simpleCashFlowResultNode);
}
}
else
{
simpleCashFlowResult_ = new SimpleCashFlowResult(simpleCashFlowResultNode);
}
}
}
示例15: Excel_vanillaFloatingBond_subtype
public Excel_vanillaFloatingBond_subtype(XmlNode xmlNode)
: base(xmlNode)
{
XmlNode excel_typeNode = xmlNode.SelectSingleNode("excel_type");
if (excel_typeNode != null)
{
if (excel_typeNode.Attributes["href"] != null || excel_typeNode.Attributes["id"] != null)
{
if (excel_typeNode.Attributes["id"] != null)
{
excel_typeIDRef_ = excel_typeNode.Attributes["id"].Value;
XsdTypeToken ob = new XsdTypeToken(excel_typeNode);
IDManager.SetID(excel_typeIDRef_, ob);
}
else if (excel_typeNode.Attributes["href"] != null)
{
excel_typeIDRef_ = excel_typeNode.Attributes["href"].Value;
}
else
{
excel_type_ = new XsdTypeToken(excel_typeNode);
}
}
else
{
excel_type_ = new XsdTypeToken(excel_typeNode);
}
}
XmlNode excel_vanillaFloatingBond_simpleNode = xmlNode.SelectSingleNode("excel_vanillaFloatingBond_simple");
if (excel_vanillaFloatingBond_simpleNode != null)
{
if (excel_vanillaFloatingBond_simpleNode.Attributes["href"] != null || excel_vanillaFloatingBond_simpleNode.Attributes["id"] != null)
{
if (excel_vanillaFloatingBond_simpleNode.Attributes["id"] != null)
{
excel_vanillaFloatingBond_simpleIDRef_ = excel_vanillaFloatingBond_simpleNode.Attributes["id"].Value;
Excel_vanillaFloatingBond_simple ob = new Excel_vanillaFloatingBond_simple(excel_vanillaFloatingBond_simpleNode);
IDManager.SetID(excel_vanillaFloatingBond_simpleIDRef_, ob);
}
else if (excel_vanillaFloatingBond_simpleNode.Attributes["href"] != null)
{
excel_vanillaFloatingBond_simpleIDRef_ = excel_vanillaFloatingBond_simpleNode.Attributes["href"].Value;
}
else
{
excel_vanillaFloatingBond_simple_ = new Excel_vanillaFloatingBond_simple(excel_vanillaFloatingBond_simpleNode);
}
}
else
{
excel_vanillaFloatingBond_simple_ = new Excel_vanillaFloatingBond_simple(excel_vanillaFloatingBond_simpleNode);
}
}
}