C# 클래스 Google.PowerShell.Common.ConfigPropertyNameAttribute

상속: System.Attribute
파일 보기 프로젝트 열기: GoogleCloudPlatform/google-cloud-powershell 1 사용 예제들

공개 메소드들

메소드 설명
ConfigPropertyNameAttribute ( string property ) : System
SetConfigDefault ( FieldInfo field, GCloudCmdlet instance ) : void

Gives the field a default value from the gcould config.

SetConfigDefault ( PropertyInfo property, GCloudCmdlet instance ) : void

Gives the property a default value from the gcould config if needed.

SetObjectConfigDefault ( PropertyInfo property, object instance ) : void

Gives the property a default value from the gcould config. This sets the property regardless of its current value.

메소드 상세

ConfigPropertyNameAttribute() 공개 메소드

public ConfigPropertyNameAttribute ( string property ) : System
property string
리턴 System

SetConfigDefault() 공개 메소드

Gives the field a default value from the gcould config.
public SetConfigDefault ( FieldInfo field, GCloudCmdlet instance ) : void
field System.Reflection.FieldInfo /// The field info. ///
instance GCloudCmdlet /// The instance the field is a member of. ///
리턴 void

SetConfigDefault() 공개 메소드

Gives the property a default value from the gcould config if needed.
public SetConfigDefault ( PropertyInfo property, GCloudCmdlet instance ) : void
property System.Reflection.PropertyInfo /// The property info. ///
instance GCloudCmdlet /// The instance the property is a member of. ///
리턴 void

SetObjectConfigDefault() 공개 메소드

Gives the property a default value from the gcould config. This sets the property regardless of its current value.
public SetObjectConfigDefault ( PropertyInfo property, object instance ) : void
property System.Reflection.PropertyInfo The property to set.
instance object The instance that contains the property to set.
리턴 void