当前位置: 首页>>代码示例>>C#>>正文


C# Client.Read方法代码示例

本文整理汇总了C#中Client.Read方法的典型用法代码示例。如果您正苦于以下问题:C# Client.Read方法的具体用法?C# Client.Read怎么用?C# Client.Read使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Client的用法示例。


在下文中一共展示了Client.Read方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: StructureGroup

 /// <summary>
 /// Initializes a new instance of the <see cref="StructureGroup"/> class.
 /// </summary>
 /// <param name="client"><see cref="T:TcmCoreService.Client" /></param>
 /// <param name="uri"><see cref="T:TcmCoreService.Misc.TcmUri" /></param>
 internal StructureGroup(Client client, TcmUri uri)
     : this(client, client.Read<StructureGroupData>(uri))
 {
 }
开发者ID:TcmExtensions,项目名称:TcmCoreService,代码行数:9,代码来源:StructureGroup.cs

示例2: Group

 /// <summary>
 /// Initializes a new instance of the <see cref="Group"/> class.
 /// </summary>
 /// <param name="client"><see cref="T:TcmCoreService.Client" /></param>
 /// <param name="uri"><see cref="T:TcmCoreService.Misc.TcmUri" /></param>
 internal Group(Client client, TcmUri uri)
     : this(client, client.Read<GroupData>(uri))
 {
 }
开发者ID:TcmExtensions,项目名称:TcmCoreService,代码行数:9,代码来源:Group.cs

示例3: Activity

 /// <summary>
 /// Initializes a new instance of the <see cref="Activity"/> class.
 /// </summary>
 /// <param name="client"><see cref="T:TcmCoreService.Client" /></param>
 /// <param name="uri"><see cref="T:TcmCoreService.Misc.TcmUri" /></param>
 internal Activity(Client client, TcmUri uri)
     : this(client, client.Read<ActivityData>(uri))
 {
 }
开发者ID:TcmExtensions,项目名称:TcmCoreService,代码行数:9,代码来源:Activity.cs

示例4: Process

 /// <summary>
 /// Initializes a new instance of the <see cref="Process"/> class.
 /// </summary>
 /// <param name="client"><see cref="T:TcmCoreService.Client" /></param>
 /// <param name="uri"><see cref="T:TcmCoreService.Misc.TcmUri" /></param>
 internal Process(Client client, TcmUri uri)
     : this(client, client.Read<ProcessData>(uri))
 {
 }
开发者ID:TcmExtensions,项目名称:TcmCoreService,代码行数:9,代码来源:Process.cs

示例5: PublishingTarget

 /// <summary>
 /// Initializes a new instance of the <see cref="PublishingTarget"/> class.
 /// </summary>
 /// <param name="client"><see cref="T:TcmCoreService.Client" /></param>
 /// <param name="uri"><see cref="T:TcmCoreService.Misc.TcmUri" /></param>
 internal PublishingTarget(Client client, TcmUri uri)
     : this(client, client.Read<PublishingTargetData>(uri))
 {
 }
开发者ID:TcmExtensions,项目名称:TcmCoreService,代码行数:9,代码来源:PublishingTarget.cs

示例6: IdentifiableObject

 /// <summary>
 /// Initializes a new instance of the <see cref="IdentifiableObject"/> class.
 /// </summary>
 /// <param name="session"><see cref="T:TcmCoreService.Client" /></param>
 /// <param name="uri"><see cref="T:TcmCoreService.Misc.TcmUri" /></param>
 internal IdentifiableObject(Client client, TcmUri uri)
     : this(client, client.Read<IdentifiableObjectData>(uri))
 {
 }
开发者ID:TcmExtensions,项目名称:TcmCoreService,代码行数:9,代码来源:IdentifiableObject.cs

示例7: TargetType

 /// <summary>
 /// Initializes a new instance of the <see cref="TargetType"/> class.
 /// </summary>
 /// <param name="client"><see cref="T:TcmCoreService.Client" /></param>
 /// <param name="uri"><see cref="T:TcmCoreService.Misc.TcmUri" /></param>
 internal TargetType(Client client, TcmUri uri)
     : this(client, client.Read<TargetTypeData>(uri))
 {
 }
开发者ID:TcmExtensions,项目名称:TcmCoreService,代码行数:9,代码来源:TargetType.cs

示例8: ApprovalStatus

 /// <summary>
 /// Initializes a new instance of the <see cref="ApprovalStatus"/> class.
 /// </summary>
 /// <param name="client"><see cref="T:TcmCoreService.Client" /></param>
 /// <param name="uri"><see cref="T:TcmCoreService.Misc.TcmUri" /></param>
 internal ApprovalStatus(Client client, TcmUri uri)
     : this(client, client.Read<ApprovalStatusData>(uri))
 {
 }
开发者ID:TcmExtensions,项目名称:TcmCoreService,代码行数:9,代码来源:ApprovalStatus.cs

示例9: Schema

 /// <summary>
 /// Initializes a new instance of the <see cref="Schema"/> class.
 /// </summary>
 /// <param name="client"><see cref="T:TcmCoreService.Client" /></param>
 /// <param name="uri"><see cref="T:TcmCoreService.Misc.TcmUri" /></param>
 internal Schema(Client client, TcmUri uri)
     : this(client, client.Read<SchemaData>(uri))
 {
 }
开发者ID:TcmExtensions,项目名称:TcmCoreService,代码行数:9,代码来源:Schema.cs

示例10: TemplateBuildingBlock

 /// <summary>
 /// Initializes a new instance of the <see cref="TemplateBuildingBlock"/> class.
 /// </summary>
 /// <param name="client"><see cref="T:TcmCoreService.Session" /></param>
 /// <param name="uri"><see cref="T:TcmCoreService.Misc.TcmUri" /></param>
 internal TemplateBuildingBlock(Client client, TcmUri uri)
     : this(client, client.Read<TemplateBuildingBlockData>(uri))
 {
 }
开发者ID:TcmExtensions,项目名称:TcmCoreService,代码行数:9,代码来源:TemplateBuildingBlock.cs

示例11: ActivityInstance

 /// <summary>
 /// Initializes a new instance of the <see cref="ActivityInstance"/> class.
 /// </summary>
 /// <param name="client"><see cref="T:TcmCoreService.Client" /></param>
 /// <param name="uri"><see cref="T:TcmCoreService.Misc.TcmUri" /></param>
 internal ActivityInstance(Client client, TcmUri uri)
     : this(client, client.Read<ActivityInstanceData>(uri))
 {
 }
开发者ID:TcmExtensions,项目名称:TcmCoreService,代码行数:9,代码来源:ActivityInstance.cs

示例12: Page

 /// <summary>
 /// Initializes a new instance of the <see cref="Page"/> class.
 /// </summary>
 /// <param name="client"><see cref="T:TcmCoreService.Client" /></param>
 /// <param name="uri"><see cref="T:TcmCoreService.Misc.TcmUri" /></param>
 internal Page(Client client, TcmUri uri)
     : this(client, client.Read<PageData>(uri))
 {
 }
开发者ID:TcmExtensions,项目名称:TcmCoreService,代码行数:9,代码来源:Page.cs

示例13: Category

 /// <summary>
 /// Initializes a new instance of the <see cref="Category"/> class.
 /// </summary>
 /// <param name="client"><see cref="T:TcmCoreService.Client" /></param>
 /// <param name="uri"><see cref="T:TcmCoreService.Misc.TcmUri" /></param>
 internal Category(Client client, TcmUri uri)
     : this(client, client.Read<CategoryData>(uri))
 {
 }
开发者ID:TcmExtensions,项目名称:TcmCoreService,代码行数:9,代码来源:Category.cs

示例14: ProcessInstance

 /// <summary>
 /// Initializes a new instance of the <see cref="ProcessInstance"/> class.
 /// </summary>
 /// <param name="client"><see cref="T:TcmCoreService.Client" /></param>
 /// <param name="uri"><see cref="T:TcmCoreService.Misc.TcmUri" /></param>
 internal ProcessInstance(Client client, TcmUri uri)
     : this(client, client.Read<ProcessInstanceData>(uri))
 {
 }
开发者ID:TcmExtensions,项目名称:TcmCoreService,代码行数:9,代码来源:ProcessInstance.cs

示例15: Repository

 /// <summary>
 /// Initializes a new instance of the <see cref="Repository"/> class.
 /// </summary>
 /// <param name="client"><see cref="T:TcmCoreService.Client" /></param>
 /// <param name="uri"><see cref="T:TcmCoreService.Misc.TcmUri" /></param>
 internal Repository(Client client, TcmUri uri)
     : this(client, client.Read<RepositoryData>(uri))
 {
 }
开发者ID:TcmExtensions,项目名称:TcmCoreService,代码行数:9,代码来源:Repository.cs


注:本文中的Client.Read方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。