本文整理汇总了C#中IInterningProvider类的典型用法代码示例。如果您正苦于以下问题:C# IInterningProvider类的具体用法?C# IInterningProvider怎么用?C# IInterningProvider使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IInterningProvider类属于命名空间,在下文中一共展示了IInterningProvider类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: ApplyInterningProvider
public override void ApplyInterningProvider(IInterningProvider provider)
{
base.ApplyInterningProvider(provider);
addAccessor = provider.Intern(addAccessor);
removeAccessor = provider.Intern(removeAccessor);
invokeAccessor = provider.Intern(invokeAccessor);
}
开发者ID:slodge,项目名称:monodevelop,代码行数:7,代码来源:DefaultUnresolvedEvent.cs
示例2: ApplyInterningProvider
public override void ApplyInterningProvider(IInterningProvider provider)
{
base.ApplyInterningProvider(provider);
getter = provider.Intern(getter);
setter = provider.Intern(setter);
parameters = provider.InternList(parameters);
}
开发者ID:Gobiner,项目名称:ILSpy,代码行数:7,代码来源:DefaultUnresolvedProperty.cs
示例3: ApplyInterningProvider
public override void ApplyInterningProvider(IInterningProvider provider)
{
base.ApplyInterningProvider(provider);
if (provider != null) {
returnTypeAttributes = provider.InternList(returnTypeAttributes);
typeParameters = provider.InternList(typeParameters);
parameters = provider.InternList(parameters);
}
}
开发者ID:Gobiner,项目名称:ILSpy,代码行数:9,代码来源:DefaultUnresolvedMethod.cs
示例4:
void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
{
declaringTypeRef = provider.Intern(declaringTypeRef);
name = provider.Intern(name);
}
开发者ID:jiguixin,项目名称:ILSpy,代码行数:5,代码来源:NestedTypeReference.cs
示例5:
void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
{
baseValue = provider.Intern(baseValue);
}
开发者ID:sbeparey,项目名称:ILSpy,代码行数:4,代码来源:ConstantValues.cs
示例6:
void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
{
genericType = provider.Intern(genericType);
for (int i = 0; i < typeArguments.Length; i++) {
typeArguments[i] = provider.Intern(typeArguments[i]);
}
}
开发者ID:Gobiner,项目名称:ILSpy,代码行数:7,代码来源:ParameterizedType.cs
示例7:
void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
{
shortName = provider.Intern(shortName);
}
开发者ID:KAW0,项目名称:Alter-Native,代码行数:4,代码来源:DefaultAssemblyReference.cs
示例8:
void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
{
Contract.Requires(provider != null);
}
开发者ID:constructor-igor,项目名称:cudafy,代码行数:4,代码来源:ISupportsInterning.cs
示例9:
void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
{
attributeType = provider.Intern(attributeType);
if (constructorParameterTypes != null) {
for (int i = 0; i < constructorParameterTypes.Length; i++) {
constructorParameterTypes[i] = provider.Intern(constructorParameterTypes[i]);
}
}
positionalArguments = provider.InternList(positionalArguments);
}
开发者ID:constructor-igor,项目名称:cudafy,代码行数:10,代码来源:DefaultAttribute.cs
示例10:
void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
{
if (!this.IsFrozen) {
attributeType = provider.Intern(attributeType);
constructorParameterTypes = provider.InternList(constructorParameterTypes);
positionalArguments = provider.InternList(positionalArguments);
if (namedArguments != null) {
for (int i = 0; i < namedArguments.Count; i++) {
namedArguments[i] = new KeyValuePair<IMemberReference, IConstantValue>(
provider.Intern(namedArguments[i].Key),
provider.Intern(namedArguments[i].Value)
);
}
}
Freeze();
}
}
开发者ID:nylen,项目名称:SharpDevelop,代码行数:17,代码来源:DefaultUnresolvedAttribute.cs
示例11:
void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
{
withoutSuffix = provider.Intern(withoutSuffix);
withSuffix = provider.Intern(withSuffix);
}
开发者ID:95ulisse,项目名称:ILEdit,代码行数:5,代码来源:CSharpAttribute.cs
示例12:
void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
{
elementType = provider.Intern(elementType);
}
开发者ID:adisik,项目名称:simple-assembly-explorer,代码行数:4,代码来源:ByReferenceType.cs
示例13:
void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
{
attributes = provider.InternList(attributes);
}
开发者ID:richardschneider,项目名称:ILSpy,代码行数:4,代码来源:DefaultAccessor.cs
示例14:
void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
{
name = provider.Intern(name);
type = provider.Intern(type);
attributes = provider.InternList(attributes);
defaultValue = provider.Intern(defaultValue);
}
开发者ID:yayanyang,项目名称:monodevelop,代码行数:7,代码来源:DefaultParameter.cs
示例15: ApplyInterningProvider
public virtual void ApplyInterningProvider(IInterningProvider provider)
{
}
开发者ID:adisik,项目名称:simple-assembly-explorer,代码行数:3,代码来源:AbstractUnresolvedEntity.cs
示例16:
void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
{
nameSpace = provider.Intern(nameSpace);
name = provider.Intern(name);
}
开发者ID:constructor-igor,项目名称:cudafy,代码行数:5,代码来源:GetClassTypeReference.cs
示例17:
void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
{
constraints = provider.InternList(constraints);
attributes = provider.InternList(attributes);
}
开发者ID:constructor-igor,项目名称:cudafy,代码行数:5,代码来源:DefaultTypeParameter.cs
示例18: ApplyInterningProvider
public override void ApplyInterningProvider(IInterningProvider provider)
{
base.ApplyInterningProvider(provider);
if (provider != null)
constantValue = provider.Intern(constantValue);
}
开发者ID:95ulisse,项目名称:ILEdit,代码行数:6,代码来源:DefaultField.cs
示例19:
void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
{
InterfaceType = provider.Intern(InterfaceType);
MemberName = provider.Intern(MemberName);
}
开发者ID:adisik,项目名称:simple-assembly-explorer,代码行数:5,代码来源:DefaultExplicitInterfaceImplementation.cs
示例20: ApplyInterningProvider
public override void ApplyInterningProvider(IInterningProvider provider)
{
base.ApplyInterningProvider(provider);
returnType = provider.Intern(returnType);
interfaceImplementations = provider.InternList(interfaceImplementations);
}
开发者ID:adisik,项目名称:simple-assembly-explorer,代码行数:6,代码来源:AbstractUnresolvedMember.cs
注:本文中的IInterningProvider类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论