本文整理汇总了C#中global.Equals方法的典型用法代码示例。如果您正苦于以下问题:C# global.Equals方法的具体用法?C# global.Equals怎么用?C# global.Equals使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类global
的用法示例。
在下文中一共展示了global.Equals方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: GetLink
public static global::Com.Lotos.BinbinDomainLanguage.AggregateRootEntitiesReferencesEntityModels GetLink( global::Com.Lotos.BinbinDomainLanguage.AggregateRootEntities source, global::Com.Lotos.BinbinDomainLanguage.EntityModel target )
{
global::System.Collections.Generic.IList<global::Com.Lotos.BinbinDomainLanguage.AggregateRootEntitiesReferencesEntityModels> links = DslModeling::DomainRoleInfo.GetElementLinks<global::Com.Lotos.BinbinDomainLanguage.AggregateRootEntitiesReferencesEntityModels>(source, global::Com.Lotos.BinbinDomainLanguage.AggregateRootEntitiesReferencesEntityModels.AggregateRootEntitiesDomainRoleId);
foreach ( global::Com.Lotos.BinbinDomainLanguage.AggregateRootEntitiesReferencesEntityModels link in links )
{
if ( target.Equals(link.EntityModel) )
{
return link;
}
}
return null;
}
示例2: GetLink
public static global::ORMSolutions.ORMArchitect.ORMAbstractionToBarkerERBridge.EntityTypeIsPrimarilyForConceptType GetLink( global::ORMSolutions.ORMArchitect.EntityRelationshipModels.Barker.EntityType source, global::ORMSolutions.ORMArchitect.ORMAbstraction.ConceptType target )
{
global::System.Collections.Generic.IList<global::ORMSolutions.ORMArchitect.ORMAbstractionToBarkerERBridge.EntityTypeIsPrimarilyForConceptType> links = DslModeling::DomainRoleInfo.GetElementLinks<global::ORMSolutions.ORMArchitect.ORMAbstractionToBarkerERBridge.EntityTypeIsPrimarilyForConceptType>(source, global::ORMSolutions.ORMArchitect.ORMAbstractionToBarkerERBridge.EntityTypeIsPrimarilyForConceptType.EntityTypeDomainRoleId);
foreach ( global::ORMSolutions.ORMArchitect.ORMAbstractionToBarkerERBridge.EntityTypeIsPrimarilyForConceptType link in links )
{
if ( target.Equals(link.ConceptType) )
{
return link;
}
}
return null;
}
示例3: GetLink
public static global::ORMSolutions.ORMArchitect.ORMAbstractionToConceptualDatabaseBridge.GenerationSettingTargetsSchema GetLink( global::ORMSolutions.ORMArchitect.ORMAbstractionToConceptualDatabaseBridge.SchemaGenerationSetting source, global::ORMSolutions.ORMArchitect.RelationalModels.ConceptualDatabase.Schema target )
{
global::System.Collections.Generic.IList<global::ORMSolutions.ORMArchitect.ORMAbstractionToConceptualDatabaseBridge.GenerationSettingTargetsSchema> links = DslModeling::DomainRoleInfo.GetElementLinks<global::ORMSolutions.ORMArchitect.ORMAbstractionToConceptualDatabaseBridge.GenerationSettingTargetsSchema>(source, global::ORMSolutions.ORMArchitect.ORMAbstractionToConceptualDatabaseBridge.GenerationSettingTargetsSchema.GenerationSettingDomainRoleId);
foreach ( global::ORMSolutions.ORMArchitect.ORMAbstractionToConceptualDatabaseBridge.GenerationSettingTargetsSchema link in links )
{
if ( target.Equals(link.GeneratedSchema) )
{
return link;
}
}
return null;
}
示例4: GetLinks
public static global::System.Collections.ObjectModel.ReadOnlyCollection<global::ORMSolutions.ORMArchitect.ORMAbstractionToConceptualDatabaseBridge.MappingCustomizationModelHasReferenceModeNaming> GetLinks( global::ORMSolutions.ORMArchitect.ORMAbstractionToConceptualDatabaseBridge.MappingCustomizationModel source, global::ORMSolutions.ORMArchitect.ORMAbstractionToConceptualDatabaseBridge.ReferenceModeNaming target )
{
global::System.Collections.Generic.List<global::ORMSolutions.ORMArchitect.ORMAbstractionToConceptualDatabaseBridge.MappingCustomizationModelHasReferenceModeNaming> outLinks = new global::System.Collections.Generic.List<global::ORMSolutions.ORMArchitect.ORMAbstractionToConceptualDatabaseBridge.MappingCustomizationModelHasReferenceModeNaming>();
global::System.Collections.Generic.IList<global::ORMSolutions.ORMArchitect.ORMAbstractionToConceptualDatabaseBridge.MappingCustomizationModelHasReferenceModeNaming> links = DslModeling::DomainRoleInfo.GetElementLinks<global::ORMSolutions.ORMArchitect.ORMAbstractionToConceptualDatabaseBridge.MappingCustomizationModelHasReferenceModeNaming>(source, global::ORMSolutions.ORMArchitect.ORMAbstractionToConceptualDatabaseBridge.MappingCustomizationModelHasReferenceModeNaming.ModelDomainRoleId);
foreach ( global::ORMSolutions.ORMArchitect.ORMAbstractionToConceptualDatabaseBridge.MappingCustomizationModelHasReferenceModeNaming link in links )
{
if ( target.Equals(link.ReferenceModeNaming) )
{
outLinks.Add(link);
}
}
return outLinks.AsReadOnly();
}
示例5: GetLink
internal static global::NuPattern.Authoring.WorkflowDesign.ParentVariabilityRequirementHasParentVariabilityRequirements GetLink( global::NuPattern.Authoring.WorkflowDesign.VariabilityRequirement source, global::NuPattern.Authoring.WorkflowDesign.VariabilityRequirement target )
{
global::System.Collections.Generic.IList<global::NuPattern.Authoring.WorkflowDesign.ParentVariabilityRequirementHasParentVariabilityRequirements> links = DslModeling::DomainRoleInfo.GetElementLinks<global::NuPattern.Authoring.WorkflowDesign.ParentVariabilityRequirementHasParentVariabilityRequirements>(source, global::NuPattern.Authoring.WorkflowDesign.ParentVariabilityRequirementHasParentVariabilityRequirements.SourceVariabilityRequirementDomainRoleId);
foreach ( global::NuPattern.Authoring.WorkflowDesign.ParentVariabilityRequirementHasParentVariabilityRequirements link in links )
{
if ( target.Equals(link.TargetVariabilityRequirement) )
{
return link;
}
}
return null;
}
示例6: GetLinks
internal static global::System.Collections.ObjectModel.ReadOnlyCollection<global::NuPattern.Authoring.WorkflowDesign.SuppliedAssetCopiesToProducedAssets> GetLinks( global::NuPattern.Authoring.WorkflowDesign.SuppliedAsset source, global::NuPattern.Authoring.WorkflowDesign.ProducedAsset target )
{
global::System.Collections.Generic.List<global::NuPattern.Authoring.WorkflowDesign.SuppliedAssetCopiesToProducedAssets> outLinks = new global::System.Collections.Generic.List<global::NuPattern.Authoring.WorkflowDesign.SuppliedAssetCopiesToProducedAssets>();
global::System.Collections.Generic.IList<global::NuPattern.Authoring.WorkflowDesign.SuppliedAssetCopiesToProducedAssets> links = DslModeling::DomainRoleInfo.GetElementLinks<global::NuPattern.Authoring.WorkflowDesign.SuppliedAssetCopiesToProducedAssets>(source, global::NuPattern.Authoring.WorkflowDesign.SuppliedAssetCopiesToProducedAssets.SuppliedAssetDomainRoleId);
foreach ( global::NuPattern.Authoring.WorkflowDesign.SuppliedAssetCopiesToProducedAssets link in links )
{
if ( target.Equals(link.ProducedAsset) )
{
outLinks.Add(link);
}
}
return outLinks.AsReadOnly();
}
示例7: GetLink
public static global::DmitriNesteruk.AsyncDsl.ExampleModelHasComments GetLink( global::DmitriNesteruk.AsyncDsl.ExampleModel source, global::DmitriNesteruk.AsyncDsl.Comment target )
{
global::System.Collections.Generic.IList<global::DmitriNesteruk.AsyncDsl.ExampleModelHasComments> links = DslModeling::DomainRoleInfo.GetElementLinks<global::DmitriNesteruk.AsyncDsl.ExampleModelHasComments>(source, global::DmitriNesteruk.AsyncDsl.ExampleModelHasComments.ExampleModelDomainRoleId);
foreach ( global::DmitriNesteruk.AsyncDsl.ExampleModelHasComments link in links )
{
if ( target.Equals(link.Comment) )
{
return link;
}
}
return null;
}
示例8: GetLinks
public static global::System.Collections.ObjectModel.ReadOnlyCollection<global::DmitriNesteruk.AsyncDsl.ExampleModelHasComments> GetLinks( global::DmitriNesteruk.AsyncDsl.ExampleModel source, global::DmitriNesteruk.AsyncDsl.Comment target )
{
global::System.Collections.Generic.List<global::DmitriNesteruk.AsyncDsl.ExampleModelHasComments> outLinks = new global::System.Collections.Generic.List<global::DmitriNesteruk.AsyncDsl.ExampleModelHasComments>();
global::System.Collections.Generic.IList<global::DmitriNesteruk.AsyncDsl.ExampleModelHasComments> links = DslModeling::DomainRoleInfo.GetElementLinks<global::DmitriNesteruk.AsyncDsl.ExampleModelHasComments>(source, global::DmitriNesteruk.AsyncDsl.ExampleModelHasComments.ExampleModelDomainRoleId);
foreach ( global::DmitriNesteruk.AsyncDsl.ExampleModelHasComments link in links )
{
if ( target.Equals(link.Comment) )
{
outLinks.Add(link);
}
}
return outLinks.AsReadOnly();
}
示例9: GetLink
public static global::Tum.FamilyTreeDSL.MarriedTo GetLink( global::Tum.FamilyTreeDSL.FamilyTreePerson source, global::Tum.FamilyTreeDSL.FamilyTreePerson target )
{
global::System.Collections.Generic.IList<global::Tum.FamilyTreeDSL.MarriedTo> links = DslModeling::DomainRoleInfo.GetElementLinks<global::Tum.FamilyTreeDSL.MarriedTo>(source, global::Tum.FamilyTreeDSL.MarriedTo.HusbandDomainRoleId);
foreach ( global::Tum.FamilyTreeDSL.MarriedTo link in links )
{
if ( target.Equals(link.Wife) )
{
return link;
}
}
return null;
}
示例10: GetLinks
public static global::System.Collections.ObjectModel.ReadOnlyCollection<global::Tum.FamilyTreeDSL.ParentOf> GetLinks( global::Tum.FamilyTreeDSL.FamilyTreePerson source, global::Tum.FamilyTreeDSL.FamilyTreePerson target )
{
global::System.Collections.Generic.List<global::Tum.FamilyTreeDSL.ParentOf> outLinks = new global::System.Collections.Generic.List<global::Tum.FamilyTreeDSL.ParentOf>();
global::System.Collections.Generic.IList<global::Tum.FamilyTreeDSL.ParentOf> links = DslModeling::DomainRoleInfo.GetElementLinks<global::Tum.FamilyTreeDSL.ParentOf>(source, global::Tum.FamilyTreeDSL.ParentOf.ParentDomainRoleId);
foreach ( global::Tum.FamilyTreeDSL.ParentOf link in links )
{
if ( target.Equals(link.Child) )
{
outLinks.Add(link);
}
}
return outLinks.AsReadOnly();
}
示例11: GetLinks
public static global::System.Collections.ObjectModel.ReadOnlyCollection<global::ORMSolutions.ORMArchitect.ORMAbstractionToBarkerERBridge.GenerationSettingTargetsBarkerERModel> GetLinks( global::ORMSolutions.ORMArchitect.ORMAbstractionToBarkerERBridge.BarkerERModelGenerationSetting source, global::ORMSolutions.ORMArchitect.EntityRelationshipModels.Barker.BarkerErModel target )
{
global::System.Collections.Generic.List<global::ORMSolutions.ORMArchitect.ORMAbstractionToBarkerERBridge.GenerationSettingTargetsBarkerERModel> outLinks = new global::System.Collections.Generic.List<global::ORMSolutions.ORMArchitect.ORMAbstractionToBarkerERBridge.GenerationSettingTargetsBarkerERModel>();
global::System.Collections.Generic.IList<global::ORMSolutions.ORMArchitect.ORMAbstractionToBarkerERBridge.GenerationSettingTargetsBarkerERModel> links = DslModeling::DomainRoleInfo.GetElementLinks<global::ORMSolutions.ORMArchitect.ORMAbstractionToBarkerERBridge.GenerationSettingTargetsBarkerERModel>(source, global::ORMSolutions.ORMArchitect.ORMAbstractionToBarkerERBridge.GenerationSettingTargetsBarkerERModel.GenerationSettingDomainRoleId);
foreach ( global::ORMSolutions.ORMArchitect.ORMAbstractionToBarkerERBridge.GenerationSettingTargetsBarkerERModel link in links )
{
if ( target.Equals(link.GeneratedBarkerERModel) )
{
outLinks.Add(link);
}
}
return outLinks.AsReadOnly();
}
示例12: GetLinks
public static global::System.Collections.ObjectModel.ReadOnlyCollection<global::Com.Lotos.BinbinDomainLanguage.AggregateRootEntitiesReferencesEntityModels> GetLinks( global::Com.Lotos.BinbinDomainLanguage.AggregateRootEntities source, global::Com.Lotos.BinbinDomainLanguage.EntityModel target )
{
global::System.Collections.Generic.List<global::Com.Lotos.BinbinDomainLanguage.AggregateRootEntitiesReferencesEntityModels> outLinks = new global::System.Collections.Generic.List<global::Com.Lotos.BinbinDomainLanguage.AggregateRootEntitiesReferencesEntityModels>();
global::System.Collections.Generic.IList<global::Com.Lotos.BinbinDomainLanguage.AggregateRootEntitiesReferencesEntityModels> links = DslModeling::DomainRoleInfo.GetElementLinks<global::Com.Lotos.BinbinDomainLanguage.AggregateRootEntitiesReferencesEntityModels>(source, global::Com.Lotos.BinbinDomainLanguage.AggregateRootEntitiesReferencesEntityModels.AggregateRootEntitiesDomainRoleId);
foreach ( global::Com.Lotos.BinbinDomainLanguage.AggregateRootEntitiesReferencesEntityModels link in links )
{
if ( target.Equals(link.EntityModel) )
{
outLinks.Add(link);
}
}
return outLinks.AsReadOnly();
}